-
Notifications
You must be signed in to change notification settings - Fork 166
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
Bug in "Enhancing web page" (jsdom) #177
Comments
Thank you for the kind words! The error you’re seeing actually happens at the Readability step, when the library enumerates the HTML attributes. The spiegel.de website seems to use invalid It doesn’t seem entirely safe to disable this validation in the general case, but maybe we could do so with an |
Released the |
Thank you very much for the prompt and immediately successful solution. This is exactly what I was hoping for. |
Looks like this is fixed in Readability itself in mozilla/readability#918 (merged recently), so when mozilla/readability#941 (next release) lands, you may be able to remove See https://github.com/mozilla/readability/blob/main/CHANGELOG.md#unreleased |
Environment
node --version
: v22.3.0npm --version
: 10.8.1yarn --version
, if using Yarn: 1.22.22percollate --version
: 4.2.1Description
When I try to convert this web article into an epub, percollate breaks at the point "Enhancing web page" with the error message
It seems to me to be a bug in jsdom similar issues exist.
Since the vast majority of websites work without any problems and the error occurs very rarely, it would be helpful if percollate in this case could execute the “Enhancing web page” process in some kind of forced mode, ignoring the warning message or skipping it.
Here is the full debug log:
Thank you very much for your wonderful tool, which I have been using for years with great benefit.
The text was updated successfully, but these errors were encountered: