Closed anmolgera closed 1 year ago
Thanks for letting me know, the issue should be fixed now. For more info on why it occurred, you can go through the following thread: https://github.com/SergeyPirogov/webdriver_manager/issues/443
If you update the version of webdriver-manager with python3 -m pip install webdriver-manager --upgrade
, it should work properly.
Sadly, I can't test it as I don't have mac. If you still find that the issue persists, please do let me know!
Script later worked for Windows in the case of code forces. Attaching the workload for reference - Traceback (most recent call last): File "main.py", line 136, in
main()
File "main.py", line 130, in main
codeforces_uploader(codeforces_username, repo)
File "main.py", line 75, in codeforces_uploader
for solution in CodeForcesScraper.get_solutions(codeforces_username):
File "/Users/anmolgera/Downloads/cmd/CodeForcesScraper.py", line 64, in get_solutions
driver = webdriver.Chrome(ChromeDriverManager().install(), options=options)
File "/Users/anmolgera/Library/Python/3.8/lib/python/site-packages/webdriver_manager/chrome.py", line 37, in install
driver_path = self._get_driver_path(self.driver)
File "/Users/anmolgera/Library/Python/3.8/lib/python/site-packages/webdriver_manager/core/manager.py", line 33, in _get_driver_path
file = self._download_manager.download_file(driver.get_url())
File "/Users/anmolgera/Library/Python/3.8/lib/python/site-packages/webdriver_manager/core/download_manager.py", line 28, in download_file
response = self._http_client.get(url)
File "/Users/anmolgera/Library/Python/3.8/lib/python/site-packages/webdriver_manager/core/http.py", line 32, in get
self.validate_response(resp)
File "/Users/anmolgera/Library/Python/3.8/lib/python/site-packages/webdriver_manager/core/http.py", line 15, in validate_response
raise ValueError(f"There is no such driver by url {resp.url}")
ValueError: There is no such driver by url https://chromedriver.storage.googleapis.com/107.0.5304.62/chromedriver_mac64_m1.zip