[W:pyppeteer.chromium_downloader] start chromium download. Download may take a few minutes.

博主发布

urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='storage.googleapis.com', port=443): Max retries exceeded with url: /chromium-browser-snapshots/Win_x64/588429/chrome-win32.zip (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000002225ACF2C50>: Failed to establish a new connection: [WinError 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。',))

提示SSL错误
解决办法:
编辑 C:\Users\XXXX\AppData\Roaming\Python\Python36\site-packages\pyppeteer\chromium_downloader.py,把https://storage.googleapis.com改为http://storage.googleapis.com即可

Chromium路径C:\Users\XXXX\AppData\Local\pyppeteer\pyppeteer\local-chromium\588429\chrome-win32

[W:pyppeteer.chromium_downloader] start chromium download.
Download may take a few minutes.
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████| 136913619/136913619 [00:13<00:00, 10093738.83it/s]
[W:pyppeteer.chromium_downloader]
chromium download done.
[W:pyppeteer.chromium_downloader] chromium extracted to: C:\Users\XXXX\AppData\Local\pyppeteer\pyppeteer\local-chromium\588429
分类: Python

0 条评论

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注