BeautifulSoup warning
jaraco opened this issue · 3 comments
jaraco commented
Late versions of BeautifulSoup issue this warning:
c:\program files\python 3.5\lib\site-packages\bs4\__init__.py:166: UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("html.parser"). 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], "html.parser")
markup_type=markup_type))
jaraco commented
I should note this warning comes with the 0.14 release.
jaraco commented
The warning seems to incidentally have been addressed in d1fac8c, though that change hasn't been released.
jseutter commented
Cool, thanks for the report :)