jshackles / idle_master_py

The Python version of Idle Master
GNU General Public License v2.0
230 stars 71 forks source link

ubuntu 16.04 error: No parser was explicitly specified #24

Closed ghost closed 8 years ago

ghost commented 8 years ago

/usr/lib/python2.7/dist-packages/bs4/init.py:166: 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")

markup_type=markup_type))