Skip to content

there is error when i use byte #18

@sjqzhang

Description

@sjqzhang

error:
charset=re.compile(b'<meta[^>]charset=['"]?([a-z0-8-]+)['"]?[^>]?>',re.IGNORECASE).findall(html)
correct:
charset=re.compile(r'<meta[^>]charset=['"]?([a-z0-8-]+)['"]?[^>]
?>',re.IGNORECASE).findall(html)

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