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

Error with Top Tracks playlist #1868

Closed
waddles opened this issue Nov 30, 2013 · 1 comment
Closed

Error with Top Tracks playlist #1868

waddles opened this issue Nov 30, 2013 · 1 comment
Labels
bug

Comments

@waddles
Copy link

@waddles waddles commented Nov 30, 2013

Similar to #1839

Eg. From Youtube homepage, click the Music channel on the left, then Play next to Top Tracks in the main body area.

$ youtube-dl -xkt --verbose --audio-format=mp3 --playlist-end=20 'http://www.youtube.com/watch?v=E0CazRHB0so&list=TLvYGWqBK1SGSiVcFok6SzMDjrayc8VmSo'
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-xkt', '--verbose', '--audio-format=mp3', '--playlist-end=20', 'http://www.youtube.com/watch?v=E0CazRHB0so&list=TLvYGWqBK1SGSiVcFok6SzMDjrayc8VmSo']
WARNING: Assuming --restrict-filenames since file system encoding cannot encode all charactes. Set the LC_ALL environment variable to fix this.
[debug] youtube-dl version 2013.11.29
[debug] Git HEAD: b138de7
[debug] Python version 3.3.2 - Linux-3.12.0-1-ARCH-i686-with-arch
[debug] Proxy map: {}
[youtube:playlist] Downloading playlist PLTLvYGWqBK1SGSiVcFok6SzMDjrayc8VmSo - add --no-playlist to just download video E0CazRHB0so
[youtube:playlist] TLvYGWqBK1SGSiVcFok6SzMDjrayc8VmSo: 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 "/home/user/src/youtube-dl/youtube_dl/YoutubeDL.py", line 428, in extract_info
ie_result = ie.extract(url)
File "/home/user/src/youtube-dl/youtube_dl/extractor/common.py", line 131, in extract
return self._real_extract(url)
File "/home/user/src/youtube-dl/youtube_dl/extractor/youtube.py", line 1595, in _real_extract
playlist_title = self._og_search_title(page)
File "/home/user/src/youtube-dl/youtube_dl/extractor/common.py", line 356, in _og_search_title
return self._og_search_property('title', html, *_kargs)
File "/home/user/src/youtube-dl/youtube_dl/extractor/common.py", line 344, in _og_search_property
escaped = self._search_regex(self._og_regexes(prop), html, name, flags=re.DOTALL, *_kargs)
File "/home/user/src/youtube-dl/youtube_dl/extractor/common.py", line 284, in _search_regex
raise RegexNotFoundError(u'Unable to extract %s' % _name)
youtube_dl.utils.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.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Dec 9, 2013

With the last version you can run youtube-dl 'yttoplist:music:Top Tracks' to download the list. The direct url will not work because it depends on a cookie (the list id changes each time you enter youtube).
Thanks for the report!

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.