Skip to content

TypeError: __init__() got an unexpected keyword argument 'encoding' #390

@tgrrr

Description

@tgrrr

html5lib.version is 1.0.1 produces the error

read_html('http://foo.com')

TypeError: __init__() got an unexpected keyword argument 'encoding'

Solution is to downgrade:pip3 install -U html5lib=="0.9999999"

It's a problem on SO here: and here

It looks like it was referenced as another issue but was closed

Is it possible to fix this in version 1.0.1?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions