Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add option to bypass document readability check #525

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Acelya-9028
Copy link
Contributor

A check is done to test if a content can be cached but this test may disqualify a readable document so an option is needed to allow users to bypass this test and force bookmarks processing.

Try to fix go-shiori/go-readability#26

Before the bookmark is cached, a test is made and can disqualify a
readable document. This option allows the user to bypass this test.
Copy link
Member

@fmartingr fmartingr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @Acelya-9028, thanks for the submission! I will take a look at go-shiori/go-readability#26 as well, though I think I haven't experienced this.

This looks good to me, the only thing I would want is some test to check that this works properly, we are lacking a lot in that area so is better if we start adding tests while we work on the changes. Can you take care of that?

@Acelya-9028
Copy link
Contributor Author

Hey @fmartingr Ok for tests, I will add this

Copy link

stale bot commented Nov 13, 2024

This issue has been automatically marked as stale because it has not had any activity for quite some time.
It will be closed if no further activity occurs.
Thank you for your contributions.

@stale stale bot added the tag:stale label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Some web pages did not get readable mode
2 participants