-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fbf17e3
commit 91adfbc
Showing
2 changed files
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
from chromedriver_binary.utils import get_chromedriver_filename, get_chromedriver_url, find_binary_in_path, check_version | ||
|
||
import os | ||
import ssl | ||
import zipfile | ||
|
||
try: | ||
|
@@ -41,7 +42,7 @@ def run(self): | |
os.mkdir(chromedriver_dir) | ||
url = get_chromedriver_url(version=chromedriver_version) | ||
try: | ||
response = urlopen(url) | ||
response = urlopen(url, context=ssl.SSLContext(protocol=ssl.PROTOCOL_TLS)) | ||
if response.getcode() != 200: | ||
raise URLError('Not Found') | ||
except URLError: | ||
|
@@ -58,7 +59,7 @@ def run(self): | |
|
||
setup( | ||
name="chromedriver-binary", | ||
version="108.0.5359.71.0", | ||
version="108.0.5359.71.1", | ||
author="Daniel Kaiser", | ||
author_email="[email protected]", | ||
description="Installer for chromedriver.", | ||
|