This repository was archived by the owner on May 8, 2020. It is now read-only.
This repository was archived by the owner on May 8, 2020. It is now read-only.
Open
Description
Hi,
For some URLs, the goto
method does not fail, but still returns None
.
For example:
Here is a minimal example (using pyppeteer 0.0.25 and Python 3.7.4):
import asyncio
from pyppeteer import launch
urls = [
'http://www.swisscamps.ch/de/index.php',
'http://www.whisky-club-oberwallis.ch/brennereien']
async def main():
browser = await launch(headless=True)
page = await browser.newPage()
for url in urls:
response = await page.goto(url, waitUntil='networkidle0')
print(url, response)
await page.close()
await browser.close()
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
Output:
http://www.swisscamps.ch/de/index.php None
http://www.whisky-club-oberwallis.ch None
Using curl or the chrome browser, I can still see the response headers and status codes. Any idea where this comes from / how to fix it ?
Metadata
Metadata
Assignees
Labels
No labels