YouTube-Viewer icon indicating copy to clipboard operation
YouTube-Viewer copied to clipboard

Any updates? @MShawon

Open taran0026 opened this issue 2 years ago • 7 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

I'm submitting a ...

  • [ ] bug report
  • [ ] feature request
  • [ ] support request --> Contact me over mail for support https://github.com/MShawon

Description

Just checking in if there's any progress? Thanks

Environment

NA

config.json

NA

taran0026 avatar Oct 02 '23 04:10 taran0026

please do something

techkick avatar Oct 02 '23 08:10 techkick

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

SecHex avatar Oct 29 '23 17:10 SecHex

@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 avatar Oct 31 '23 21:10 NuLL3rr0r

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.

NuLL3rr0r avatar Oct 31 '23 21:10 NuLL3rr0r

@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

SecHex avatar Nov 01 '23 17:11 SecHex

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.

NuLL3rr0r avatar Nov 02 '23 21:11 NuLL3rr0r