Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Embedding youtube-dl: no suitable InfoExtractor #4783
Comments
|
Could you post the code you are using for calling youtube-dl and the version? |
|
I used that code from https://github.com/rg3/youtube-dl/blob/master/README.md#embedding-youtube-dl. My version : 2015.01.23.4 |
|
Ok, what's the output you get if you run these two commands in the python interpreter (you have to run >>> import youtube_dl
>>> youtube_dl.version.__version__ |
|
Thank You. You were right. |
|
I'm closing the issue then. If you have any other problem, feel free to open a new issue. |
I tried the example for embedding youtube-dl but I always get this error:
ERROR: no suitable InfoExtractor: http://www.youtube.com/watch?v=BaW_jenozKc
Traceback (most recent call last):
File "ydl.py", line 5, in
ydl.download(['http://www.youtube.com/watch?v=BaW_jenozKc'])
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 771, in download
videos = self.extract_info(url)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 430, in extract_info
self.report_error(u'no suitable InfoExtractor: %s' % url)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 291, in report_error
self.trouble(error_message, tb)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 266, in trouble
raise DownloadError(message, exc_info)
youtube_dl.utils.DownloadError: ERROR: no suitable InfoExtractor: http://www.youtube.com/watch?v=BaW_jenozKc