UserWarning fix

fixed UserWarning by passing default **bsargs to lxml
This commit is contained in:
alxia
2018-02-28 22:45:10 -05:00
parent 2aad96cead
commit 9ed0bac87b
+1 -1
View File
@@ -117,7 +117,7 @@ class BaseParser:
"""`lxml <http://lxml.de>`_ representation of the
:class:`Element <Element>` or :class:`HTML <HTML>`.
"""
return soup_parse(self.html)
return soup_parse(self.html, features='html.parser')
@property
def text(self) -> _Text: