Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2018-02-27 17:57:18 -05:00
parent d36851bb36
commit 7bb8ae631c
+1 -1
View File
@@ -224,7 +224,7 @@ class HTML(BaseParser):
def __repr__(self) -> str:
return "<HTML url={}>".format(repr(self.url))
def render(self, retries: int = 8, script: str = None, scrolldown = False, sleep: int = 0):
def render(self, retries: int = 8, script: str = None, scrolldown=False, sleep: int = 0):
"""Reloads the response in Chromium, and replaces HTML content
with an updated version, with JavaScript executed.