You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having issues with running the script on my html folder. It fails on the first class file with the output Error: 'Comment' object has no attribute 'parent' (File: xyz.html). This is even after removing all comments in that html file. Any suggestions are greatly appreciated.
The text was updated successfully, but these errors were encountered:
Hi robbel, which versions of BeautifulSoup and Python are you using ?
It may be related to this bug in BeautifulSoup 4.3.2. Apparently, it was fixed in BeautifulSoup 4.4.0 (bugfixes). So you can try upgrading BeautifulSoup :
I am having issues with running the script on my html folder. It fails on the first class file with the output Error: 'Comment' object has no attribute 'parent' (File: xyz.html). This is even after removing all comments in that html file. Any suggestions are greatly appreciated.
The text was updated successfully, but these errors were encountered: