html.unescape与HTMLParser().unescape使用区别

十点数据 7月前 ⋅ 52 阅读

python3.6.1中使用HTMLParser().unescape 可以正常转码。但是python3.11中存在转码失败的情况。

python3.11中通过html.unescape方式转码,正常!

全部评论: 0

    我有话说: