Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any updates? @MShawon #596

Open
1 of 4 tasks
taran0026 opened this issue Oct 2, 2023 · 6 comments
Open
1 of 4 tasks

Any updates? @MShawon #596

taran0026 opened this issue Oct 2, 2023 · 6 comments

Comments

@taran0026
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

I'm submitting a ...

Description

Just checking in if there's any progress?
Thanks

Environment

NA

config.json

NA
@techkick
Copy link

techkick commented Oct 2, 2023

please do something

@SecHex
Copy link

SecHex commented Oct 29, 2023

The tool is working fine, if you use a linux distribution and the right chrome version. (And paid proxies. lol.)

@NuLL3rr0r
Copy link

@SecHex I am on Linux and have the latest Chrome version installed:

$ /usr/bin/google-chrome-stable --version
Google Chrome 118.0.5993.70 

But, I get the following when I try to run it:

$ python youtube_viewer.py               


Yb  dP  dP"Yb  88   88 888888 88   88 88""Yb 888888
 YbdP  dP   Yb 88   88   88   88   88 88__dP 88__
  8P   Yb   dP Y8   8P   88   Y8   8P 88""Yb 88""
 dP     YbodP  `YbodP'   88   `YbodP' 88oodP 888888

                        Yb    dP 88 888888 Yb        dP 888888 88""Yb
                         Yb  dP  88 88__    Yb  db  dP  88__   88__dP
                          YbdP   88 88""     YbdPYbdP   88""   88"Yb
                           YP    88 888888    YP  YP    888888 88  Yb


           [ GitHub : https://github.com/MShawon/YouTube-Viewer ]


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

Getting Chrome Driver...
Traceback (most recent call last):
  File "/home/mamadou/dev/YouTube-Viewer/youtube_viewer.py", line 1003, in <module>
    osname, exe_name = download_driver(patched_drivers=patched_drivers)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/mamadou/dev/YouTube-Viewer/youtubeviewer/download_driver.py", line 112, in download_driver
    uc.install()
  File "/home/mamadou/dev/YouTube-Viewer/venv/lib/python3.11/site-packages/undetected_chromedriver/_compat.py", line 262, in install
    ChromeDriverManager(executable_path, target_version, *args, **kwargs).install()
  File "/home/mamadou/dev/YouTube-Viewer/venv/lib/python3.11/site-packages/undetected_chromedriver/_compat.py", line 192, in install
    self.fetch_chromedriver()
  File "/home/mamadou/dev/YouTube-Viewer/venv/lib/python3.11/site-packages/undetected_chromedriver/_compat.py", line 221, in fetch_chromedriver
    ver = self.get_release_version_number().vstring
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/mamadou/dev/YouTube-Viewer/venv/lib/python3.11/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.11/urllib/request.py", line 216, in urlopen
    return opener.open(url, data, timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/urllib/request.py", line 525, in open
    response = meth(req, response)
               ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/urllib/request.py", line 634, in http_response
    response = self.parent.error(
               ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/urllib/request.py", line 563, in error
    return self._call_chain(*args)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/urllib/request.py", line 496, in _call_chain
    result = func(*args)
             ^^^^^^^^^^^
  File "/usr/lib/python3.11/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

Any idea what might be wrong? Which version of chrome do I need?

I'd appreciate your response.

@NuLL3rr0r
Copy link

OK, I've figured it how to bypass that error. It seems the script downloads Chrome Driver from this URL and the latest version is 114.0.5735.90, so I created a Gentoo ebuild for that version of Chrome and now it runs. However, it did not add any view count. I am not yet sure which version works and does not get detected by YouTube.

@SecHex
Copy link

SecHex commented Nov 1, 2023

@SecHex I am on Linux and have the latest Chrome version installed:

$ /usr/bin/google-chrome-stable --version
Google Chrome 118.0.5993.70 

But, I get the following when I try to run it:

$ python youtube_viewer.py               


Yb  dP  dP"Yb  88   88 888888 88   88 88""Yb 888888
 YbdP  dP   Yb 88   88   88   88   88 88__dP 88__
  8P   Yb   dP Y8   8P   88   Y8   8P 88""Yb 88""
 dP     YbodP  `YbodP'   88   `YbodP' 88oodP 888888

                        Yb    dP 88 888888 Yb        dP 888888 88""Yb
                         Yb  dP  88 88__    Yb  db  dP  88__   88__dP
                          YbdP   88 88""     YbdPYbdP   88""   88"Yb
                           YP    88 888888    YP  YP    888888 88  Yb


           [ GitHub : https://github.com/MShawon/YouTube-Viewer ]


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

Getting Chrome Driver...
Traceback (most recent call last):
  File "/home/mamadou/dev/YouTube-Viewer/youtube_viewer.py", line 1003, in <module>
    osname, exe_name = download_driver(patched_drivers=patched_drivers)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/mamadou/dev/YouTube-Viewer/youtubeviewer/download_driver.py", line 112, in download_driver
    uc.install()
  File "/home/mamadou/dev/YouTube-Viewer/venv/lib/python3.11/site-packages/undetected_chromedriver/_compat.py", line 262, in install
    ChromeDriverManager(executable_path, target_version, *args, **kwargs).install()
  File "/home/mamadou/dev/YouTube-Viewer/venv/lib/python3.11/site-packages/undetected_chromedriver/_compat.py", line 192, in install
    self.fetch_chromedriver()
  File "/home/mamadou/dev/YouTube-Viewer/venv/lib/python3.11/site-packages/undetected_chromedriver/_compat.py", line 221, in fetch_chromedriver
    ver = self.get_release_version_number().vstring
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/mamadou/dev/YouTube-Viewer/venv/lib/python3.11/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.11/urllib/request.py", line 216, in urlopen
    return opener.open(url, data, timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/urllib/request.py", line 525, in open
    response = meth(req, response)
               ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/urllib/request.py", line 634, in http_response
    response = self.parent.error(
               ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/urllib/request.py", line 563, in error
    return self._call_chain(*args)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/urllib/request.py", line 496, in _call_chain
    result = func(*args)
             ^^^^^^^^^^^
  File "/usr/lib/python3.11/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

Any idea what might be wrong? Which version of chrome do I need?

I'd appreciate your response.

Version <100.x.x.x
https://www.slimjet.com/chrome/google-chrome-old-version.php

@NuLL3rr0r
Copy link

Thank you for the link, I've downgraded to v90.0.4430.72, and still not working despite the fact that the script claims "View added: 3". The view count on YouTube won't bump.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants