-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BeautifulSoup can't find html5lib #10
Comments
Switching to |
May have something to do with the https://docs.python.org/3.9/library/collections.html#module-collections
So an alternate fix may be to change this project to allow the latest |
Thanks for the report, should be fixed in v0.0.6! (uses the built-in |
Hi Carey!
Since updating to Python 3.10, I can't get
stravabackup
/stravaweblib
to run without this error:Tried:
html5lib
,lxml
,bs4
.beautifulsoup4
to4.9.3
as before and ensuring no change inhtml5lib
version.Pipenv
use and just installing directly withpip
.The other suggestion I see around for this problem is to change
BeautifulSoup(login_html, 'html5lib')
toBeautifulSoup(login_html, 'html.parser')
. Not sure why BeautifulSoup isn't findinghtml5parser
anymore, but maybe switching parser is the easiest fix?The text was updated successfully, but these errors were encountered: