mirror of
https://github.com/kennethreitz/requests-html.git
synced 2026-06-05 23:00:20 +00:00
+1
-1
@@ -199,7 +199,7 @@ class HTML(BaseParser):
|
||||
|
||||
def __init__(self, *, url, html, default_encoding=DEFAULT_ENCODING):
|
||||
super(HTML, self).__init__(
|
||||
element=fromstring(html),
|
||||
element=PyQuery(html)('html'),
|
||||
html=html,
|
||||
url=url,
|
||||
default_encoding=default_encoding
|
||||
|
||||
Reference in New Issue
Block a user