Closed amit-bhandari closed 5 years ago
Had this error using Ubuntu 18.10 as well, also had chome webdriver in PATH.
Did you find solution? @parseHex
Just took a try at getting it to work and succeeded. I don't know if it's what you're supposed to do but here's what I did:
chromedriver
to /usr/local/bin
, and I changed its permissions to match the other files there, so sudo chmod 755 /usr/local/bin/chromedriver
(if you don't change the permissions then you'll get a new error).I tried your steps but I don't know what's wrong with irs, it's opening chromium browser upon execution. Used to work flawlessly couple months back.
It opens Chromium when you execute the irs
command? Is there a message toward the top of the browser window saying something along the lines of "Chrome is being control by automated test software."? If so then that's normal I think - it looks like irs
controls Chromium to bypass YouTube's captcha.
It took a minute or two to download a song but it finished eventually and I found the song in my home directory's Music folder.
Yes, it said the title which you mentioned.
But still it crashed saying this on traceback.
`Traceback (most recent call last): File "/home/ab/.local/lib/python3.5/site-packages/irs/ripper.py", line 229, in find_yt_url return ("https://youtube.com" + self.code["href"], self.code["title"]) TypeError: 'NoneType' object is not subscriptable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ab/.local/bin/irs", line 11, in
Okay so I dug around a little bit and was able to get this error on my machine. It looks like this error is related to Python 3. I had it installed with 2 before so I didn't get the error and got it when I switched.
Try uninstalling Python 3's version and install Python 2's and see if that helps.
Okay let me try with python 2
So I removed the chromedriver entirely with #55, so there's no getting around the captcha yet. In the future I'll bring back the captcha cheater.
I keep getting following error.
selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home
I have downloaded chrome webdriver and installed it in system path as well.
I am using UBUNTU 16.04