-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
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:
Metadata
Metadata
Assignees
Labels
No labels