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

Not able to download youtube playlist #2576

Closed
ram1123 opened this issue Mar 17, 2014 · 2 comments
Closed

Not able to download youtube playlist #2576

ram1123 opened this issue Mar 17, 2014 · 2 comments

Comments

@ram1123
Copy link

@ram1123 ram1123 commented Mar 17, 2014

I typed on terminal:

youtube-dl -i --verbose --proxy "" 'http://www.youtube.com/playlist?list=PL7AD198111F85DB9C'

Then I got the following error:

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-i', '--verbose', '--proxy', '', 'http://www.youtube.com/playlist?list=PL7AD198111F85DB9C']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.01.17.2
[debug] Python version 2.7.3 - Linux-3.2.0-23-generic-x86_64-with-LinuxMint-13-maya
[debug] Proxy map: {}
[youtube:playlist] PL7AD198111F85DB9C: Downloading page #1
ERROR: Unable to extract OpenGraph title; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 493, in extract_info
ie_result = ie.extract(url)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 155, in extract
return self._real_extract(url)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 1451, in _real_extract
playlist_title = self._og_search_title(page)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 417, in _og_search_title
return self._og_search_property('title', html, *_kargs)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 405, in _og_search_property
escaped = self._search_regex(self._og_regexes(prop), html, name, flags=re.DOTALL, *_kargs)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 345, in _search_regex
raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract OpenGraph title; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.

Also, when I typed "youtube-dl -U" to update it says:

It looks like you installed youtube-dl with a package manager, pip, setup.py or a tarball. Please use that to update.

Now I don't know how to update it.

Thanks for help.

@phihag
Copy link
Contributor

@phihag phihag commented Mar 17, 2014

Well, how did you install youtube-dl? If with pip, use pip -U youtube-dl. If you used a package manager, contact your distribution's (I believe it's Linux Mint) packager for updates.

In any case, you can always uninstall the packaged version with

sudo rm -r /usr/local/lib/python2.7/dist-packages/youtube_dl/ $(which youtube-dl)

and then follow our installation instructions:

sudo curl https://yt-dl.org/latest/youtube-dl -o /usr/local/bin/youtube-dl
sudo chmod a+x /usr/local/bin/youtube-dl
hash -r  # Clean bash cache in the current shell
@phihag phihag closed this Mar 17, 2014
@ram1123
Copy link
Author

@ram1123 ram1123 commented Mar 19, 2014

Thanks you very much. It worked.

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.