but3k4 / youtube-views

Tool to increase YouTube views
BSD 3-Clause "New" or "Revised" License
86 stars 49 forks source link

warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported #7

Open martin666-alt opened 3 years ago

martin666-alt commented 3 years ago

Traceback (most recent call last): File "/home/martin/.local/lib/python3.9/site-packages/selenium/webdriver/common/service.py", line 72, in start self.process = subprocess.Popen(cmd, env=self.env, File "/usr/lib/python3.9/subprocess.py", line 947, in init self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.9/subprocess.py", line 1819, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'chromedriver'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/martin/youtube-views/bot.py", line 104, in sys.exit(_main()) File "/home/martin/youtube-views/bot.py", line 98, in _main bot.run() File "/home/martin/youtube-views/bot.py", line 46, in run youtube = YouTube( File "/home/martin/youtube-views/modules/youtube.py", line 54, in init self.browser = webdriver.Chrome(options=self.options) File "/home/martin/.local/lib/python3.9/site-packages/selenium/webdriver/chrome/webdriver.py", line 73, in init self.service.start() File "/home/martin/.local/lib/python3.9/site-packages/selenium/webdriver/common/service.py", line 81, in start raise WebDriverException( selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home