File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
seleniumbase/console_scripts Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1919import shutil
2020import sys
2121import tarfile
22- import urllib3
2322import zipfile
2423from seleniumbase import drivers # webdriver storage folder for SeleniumBase
25- urllib3 .disable_warnings ()
24+ requests . packages . urllib3 .disable_warnings ()
2625DRIVER_DIR = os .path .dirname (os .path .realpath (drivers .__file__ ))
2726
2827
@@ -188,7 +187,7 @@ def main():
188187 if not os .path .exists (downloads_folder ):
189188 os .mkdir (downloads_folder )
190189 local_file = open (file_path , 'wb' )
191- http = urllib3 .PoolManager ()
190+ http = requests . packages . urllib3 .PoolManager ()
192191 remote_file = http .request ('GET' , download_url , preload_content = False )
193192 print ('\n Downloading %s from:\n %s ...' % (file_name , download_url ))
194193 local_file .write (remote_file .read ())
You can’t perform that action at this time.
0 commit comments