Skip to content
This repository has been archived by the owner on May 8, 2020. It is now read-only.

Fixes (ignores) SSL certificate error on Windows #227

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyppeteer/chromium_downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def download_zip(url: str) -> BytesIO:
# see https://urllib3.readthedocs.io/en/latest/advanced-usage.html for more
urllib3.disable_warnings()

with urllib3.PoolManager() as http:
with urllib3.PoolManager(cert_reqs='CERT_NONE') as http:
# Get data from url.
# set preload_content=False means using stream later.
data = http.request('GET', url, preload_content=False)
Expand Down