Skip to content
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

Avoid Beautifulsoup warning #352

Closed
wants to merge 1 commit into from
Closed

Avoid Beautifulsoup warning #352

wants to merge 1 commit into from

Conversation

xlarsx
Copy link

@xlarsx xlarsx commented Apr 14, 2016

This warning appears every time I try to edit a file:

UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("lxml"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently.

To get rid of this warning, change this:

 BeautifulSoup([your markup])

to this:

 BeautifulSoup([your markup], "lxml")

Greetings,

@weakish
Copy link

weakish commented Apr 17, 2016

duplicate #317

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants