Skip to content

Support new HTML parsing library for Python >=3.9#36

Open
aymenkrifa wants to merge 1 commit intochiphuyen:masterfrom
aymenkrifa:bugfix/fix-html-parsing-deprecation-for-python3.9-or-plus
Open

Support new HTML parsing library for Python >=3.9#36
aymenkrifa wants to merge 1 commit intochiphuyen:masterfrom
aymenkrifa:bugfix/fix-html-parsing-deprecation-for-python3.9-or-plus

Conversation

@aymenkrifa
Copy link

Updated the import and usage of the HTML unescaping function to use html.unescape for Python >= 3.9, with a fallback to HTMLParser().unescape for older versions.

@aymenkrifa aymenkrifa force-pushed the bugfix/fix-html-parsing-deprecation-for-python3.9-or-plus branch from d0b04ab to abcb81b Compare November 19, 2025 15:40
@aymenkrifa aymenkrifa changed the title bugfix: Support new HTML parsing library for Python >=3.9 Support new HTML parsing library for Python >=3.9 Nov 19, 2025
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

Successfully merging this pull request may close these issues.

1 participant