Skip to content

Conversation

xxcdd
Copy link
Contributor

@xxcdd xxcdd commented Mar 6, 2024

Introduce the mozilla/readability library for content parsing and optimize the logic of obtaining core content text.

@mozilla/readability
A standalone version of the readability library used for Firefox Reader View.

@tianzhich
Copy link

It would be great for most sites, especially those that are readable. However, I'm unsure if it's suitable for non-readable sites.

@josStorer
Copy link
Member

mozilla/readability provides isProbablyReaderable. I think combining it with the original detection method, instead of just keeping mozilla/readability, will yield better results: 777f405

@josStorer josStorer merged commit eb88fc2 into ChatGPTBox-dev:master Mar 22, 2024
@josStorer
Copy link
Member

v2.5.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants