unitedstates/congress

Minor warning happening in upcoming_house_floor.py. Could you fix?

mooncalfskb opened this issue · 0 comments

Could you add "features='lxml'" when you call beautiful soup so the following warning message goes away?

tasks/upcoming_house_floor.py:190: 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 190 of the file tasks/upcoming_house_floor.py. To get rid of this warning, pass the additional argument 'features="lxml"' to the BeautifulSoup constructor.

doc = BeautifulSoup(html)