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

Unable to download playlist #4078

Closed
caligari87 opened this issue Nov 1, 2014 · 7 comments
Closed

Unable to download playlist #4078

caligari87 opened this issue Nov 1, 2014 · 7 comments

Comments

@caligari87
Copy link

@caligari87 caligari87 commented Nov 1, 2014

Trying to download a playlist from the user's channel (https://www.youtube.com/playlist?list=PLirjVs3CkmRuSdyfa2sqefCqCZecAuWii), getting a Regex error "unable to extract title". Complete --verbose output below.

~/Videos $ youtube-dl --verbose https://www.youtube.com/playlist?list=PLirjVs3CkmRuSdyfa2sqefCqCZecAuWii
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/playlist?list=PLirjVs3CkmRuSdyfa2sqefCqCZecAuWii']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.02.17
[debug] Python version 2.7.6 - Linux-3.16.0-031600-generic-x86_64-with-LinuxMint-17-qiana
[debug] Proxy map: {}
[youtube:playlist] PLirjVs3CkmRuSdyfa2sqefCqCZecAuWii: Downloading page #1
WARNING: [youtube:playlist] PLirjVs3CkmRuSdyfa2sqefCqCZecAuWii: Playlist page is missing OpenGraph title, falling back ...
ERROR: Unable to extract 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/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 1511, in _real_extract
    playlist_title = self._og_search_title(page)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 428, in _og_search_title
    return self._og_search_property('title', html, **kargs)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 416, in _og_search_property
    escaped = self._search_regex(self._og_regexes(prop), html, name, flags=re.DOTALL, **kargs)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 356, 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.
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 493, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 158, in extract
    return self._real_extract(url)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 1517, in _real_extract
    r'<h1 class="pl-header-title">(.*?)</h1>', page, u'title')
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 366, in _html_search_regex
    res = self._search_regex(pattern, string, name, default, fatal, flags)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 356, in _search_regex
    raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract 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.
@phihag
Copy link
Contributor

@phihag phihag commented Nov 1, 2014

Can you elaborate where you searched for this error, and with what terms? We'll add a link there to our FAQs.

@phihag phihag closed this Nov 1, 2014
@caligari87
Copy link
Author

@caligari87 caligari87 commented Nov 1, 2014

Unfortunately I was a tad overzealous posting this bug report and actually found the other reports/FAQ/update instructions almost immediately after. My sincere apologies for the duplicate issue.

@phihag
Copy link
Contributor

@phihag phihag commented Nov 1, 2014

No problem. Have a great time using youtube-dl and let us know if you run into any other hurdles!

@luckylooke
Copy link

@luckylooke luckylooke commented Nov 1, 2014

How can I find "Ubuntu packaging guys"? To update ubuntu package and not getting "Unable to extract OpenGraph title" error? Thanks :)

@caligari87
Copy link
Author

@caligari87 caligari87 commented Nov 1, 2014

Well, in the FAQ there's instructions to uninstall your distribution's packages for youtube-dl, and install manually. Or, you could add the webupd8 PPA, which has up-to-date builds of youtube-dl. That's what I did, so I could update automatically instead of needing to update manually.

phihag added a commit that referenced this issue Nov 1, 2014
@phihag
Copy link
Contributor

@phihag phihag commented Nov 1, 2014

@luckylooke I've updated the corresponding section of our FAQs with URLs where you can contact the Ubuntu packaging team.

@luckylooke
Copy link

@luckylooke luckylooke commented Nov 2, 2014

Thanks @caligari87 your webupd8 PPA helped to update the package. Now it works correctly.
Thanks @phihag for link, I have also contacted Ubuntu packagers to make update ;)

Problem solved, yeeey! :)

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
3 participants
You can’t perform that action at this time.