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

Not compatible with python3.9 #3

Open
jenboland opened this issue Apr 26, 2023 · 0 comments
Open

Not compatible with python3.9 #3

jenboland opened this issue Apr 26, 2023 · 0 comments

Comments

@jenboland
Copy link

The error AttributeError: 'HTMLParser' object has no attribute 'unescape' occurs when you try to use the unescape method on an HTMLParser object, but the unescape method does not exist on HTMLParser objects in Python 3.9 or later.

To fix this error, you can either downgrade your Python version to 3.8 or earlier, or you can use the html.unescape() function instead of the unescape method on the HTMLParser object.

Here is an example of how to use the html.unescape() function:

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

No branches or pull requests

1 participant