Open umag opened 1 year ago
I can't replicate this error.
Looks like you're using Python 3.9 - I'll try that.
The stacktrace suggests that this is a problem in BeautifulSoup
- it seems to have been triggered by this line:
soup = BeautifulSoup(input, "html5lib", multi_valued_attributes=False)
I'll leave this issue open but it would be great if someone could grab HTML that triggers this error and share it in a Gist or similar - without steps to reproduce I can't investigate this further.
Can confirm I had a similar error when using python 3.8 but not with python 3.11
File "/home/marco/.local/lib/python3.8/site-packages/bs4/builder/_html5lib.py", line 252, in __setitem__
if (name in list_attr.get('*')
TypeError: argument of type 'NoneType' is not iterable
I had the same issue (with bs4 version 4.8) and upgraded BeautifulSoup to the latest version (4.12.2) and the problem was fixed
I had the same issue (with bs4 version 4.8) and upgraded BeautifulSoup to the latest version (4.12.2) and the problem was fixed
the same for me. Thank you
Got that trace after upgrading from 0.3 (to 0.4.1) - worked fine