mirror of
https://github.com/kennethreitz/requests-html.git
synced 2026-06-05 23:00:20 +00:00
+1
-1
@@ -464,7 +464,7 @@ class HTML(BaseParser):
|
||||
"""
|
||||
async def _async_render(*, url: str, script: str = None, scrolldown, sleep: int, wait: float, reload, content: Optional[str], timeout: Union[float, int]):
|
||||
try:
|
||||
browser = pyppeteer.launch(headless=True)
|
||||
browser = pyppeteer.launch(headless=True, args=['--no-sandbox'])
|
||||
page = await browser.newPage()
|
||||
|
||||
# Wait before rendering the page, to prevent timeouts.
|
||||
|
||||
Reference in New Issue
Block a user