MShawon / YouTube-Viewer

A multithreaded view bot for YouTube
MIT License
1.42k stars 744 forks source link

Getting Chromedriver... urllib.error.HTTPError: HTTP Error 404: Not Found #573

Open JonathanWillnow opened 11 months ago

JonathanWillnow commented 11 months ago

Is there an existing issue for this?

I'm submitting a ...

Description

Hey,

I followed the steps that you describe in the readme and was executing the script youtube_viewer.py.

The Following output appears:

(I have installed all requirements, looks more like an issue with chromedriver?! )

+-------------------------- Version: 1.8.0 --------------------------+

Getting Chrome Driver... Traceback (most recent call last): File "/home/jona/Desktop/projects/youtube/YouTube-Viewer/youtube_viewer.py", line 1003, in osname, exe_name = download_driver(patched_drivers=patched_drivers) File "/home/jona/Desktop/projects/youtube/YouTube-Viewer/youtubeviewer/download_driver.py", line 112, in download_driver uc.install() File "/home/jona/.local/lib/python3.10/site-packages/undetected_chromedriver/_compat.py", line 262, in install ChromeDriverManager(executable_path, target_version, *args, *kwargs).install() File "/home/jona/.local/lib/python3.10/site-packages/undetected_chromedriver/_compat.py", line 192, in install self.fetch_chromedriver() File "/home/jona/.local/lib/python3.10/site-packages/undetected_chromedriver/_compat.py", line 221, in fetch_chromedriver ver = self.get_release_version_number().vstring File "/home/jona/.local/lib/python3.10/site-packages/undetected_chromedriver/_compat.py", line 211, in get_release_version_number return LooseVersion(urlopen(self.class.DL_BASE + path).read().decode()) File "/usr/lib/python3.10/urllib/request.py", line 216, in urlopen return opener.open(url, data, timeout) File "/usr/lib/python3.10/urllib/request.py", line 525, in open response = meth(req, response) File "/usr/lib/python3.10/urllib/request.py", line 634, in http_response response = self.parent.error( File "/usr/lib/python3.10/urllib/request.py", line 563, in error return self._call_chain(args) File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain result = func(*args) File "/usr/lib/python3.10/urllib/request.py", line 643, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 404: Not Found

Environment

- OS : Xubuntu 22.04
- Python : 3.10
- Script version : 1.8.0

config.json

Dont fine it / dont have any
TaherTito96 commented 11 months ago

I have the same problem too.

MShawon commented 11 months ago

Related to issue https://github.com/MShawon/YouTube-Viewer/issues/572