Skip to content

Not compatible with python3.9 #3

Description

@jenboland

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:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions