Closed TK5-Tim closed 2 years ago
From Python 3.9 HTMLParser() does not have the method unescape anymore. Therefore running the recipe causes this error: AttributeError: 'HTMLParser' object has no attribute 'unescape'
HTMLParser()
unescape
AttributeError: 'HTMLParser' object has no attribute 'unescape'
The easy solution is to just do it with the html module imported: https://stackoverflow.com/a/70793745
html
Thanks!
From Python 3.9
HTMLParser()
does not have the methodunescape
anymore. Therefore running the recipe causes this error:AttributeError: 'HTMLParser' object has no attribute 'unescape'
The easy solution is to just do it with the
html
module imported: https://stackoverflow.com/a/70793745