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

More robust backup parsing #366

Closed
adbar opened this issue Jun 8, 2023 · 1 comment · Fixed by #370
Closed

More robust backup parsing #366

adbar opened this issue Jun 8, 2023 · 1 comment · Fixed by #370
Labels
enhancement New feature or request

Comments

@adbar
Copy link
Owner

adbar commented Jun 8, 2023

In utils.py

  • use surrogatepass: tree = fromstring(htmlobject.encode('utf8', 'surrogatepass'), parser=HTML_PARSER)
  • check this line if (tree is None or len(tree) < 2) and fallback_parse is False:
@adbar adbar added the enhancement New feature or request label Jun 8, 2023
@adbar
Copy link
Owner Author

adbar commented Jun 8, 2023

First part addressed in #365.

@adbar adbar linked a pull request Jun 19, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant