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.
The code that caused this warning is on line 34 of the file
test.py. To get rid of this warning, change code that looks like this:
BeautifulSoup(YOUR_MARKUP})
to this:
BeautifulSoup(YOUR_MARKUP, "lxml")
markup_type=markup_type))
Traceback (most recent call last):
File "
test.py", line 34, in <module>
main()
File "
test.py", line 29, in main
parse(get_html('
http://weather.uwyo.edu/upperair/europe.html'))
File "
test.py", line 22, in parse
'title': cols[0].a.text
IndexError: list index out of range