Failure with Youtube Mix (not playlist) download #1408

Closed
opened 2026-02-20 23:28:02 -05:00 by deekerman · 5 comments
Owner

Originally created by @malcra on GitHub (Nov 26, 2013).

Originally assigned to: @jaimeMF on GitHub.

youtube-dl --extract-audio --audio-format mp3 http://www.youtube.com/watch?list=RDz6h-rQmyaag
[youtube:playlist] RDz6h-rQmyaag: 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.
[mherbert@mherbert Albums]$ youtube-dl --verbose --extract-audio --audio-format mp3 http://www.youtube.com/watch?list=RDz6h-rQmyaag
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '--extract-audio', '--audio-format', 'mp3', 'http://www.youtube.com/watch?list=RDz6h-rQmyaag']
[debug] youtube-dl version 2013.11.26
[debug] Python version 2.7.5 - Linux-3.11.8-200.fc19.i686.PAE-i686-with-fedora-19-Schrödinger’s_Cat
[debug] Proxy map: {}
[youtube:playlist] RDz6h-rQmyaag: 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/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 428, in extract_info
ie_result = ie.extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 131, in extract
return self._real_extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1572, in _real_extract
playlist_title = self._og_search_title(page)
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 355, in _og_search_title
return self._og_search_property('title', html, *_kargs)
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 343, in _og_search_property
escaped = self._search_regex(self._og_regexes(prop), html, name, flags=re.DOTALL, *_kargs)
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 283, 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 fails without the --extract-audio options

Originally created by @malcra on GitHub (Nov 26, 2013). Originally assigned to: @jaimeMF on GitHub. youtube-dl --extract-audio --audio-format mp3 http://www.youtube.com/watch?list=RDz6h-rQmyaag [youtube:playlist] RDz6h-rQmyaag: 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. [mherbert@mherbert Albums]$ youtube-dl --verbose --extract-audio --audio-format mp3 http://www.youtube.com/watch?list=RDz6h-rQmyaag [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['--verbose', '--extract-audio', '--audio-format', 'mp3', 'http://www.youtube.com/watch?list=RDz6h-rQmyaag'] [debug] youtube-dl version 2013.11.26 [debug] Python version 2.7.5 - Linux-3.11.8-200.fc19.i686.PAE-i686-with-fedora-19-Schrödinger’s_Cat [debug] Proxy map: {} [youtube:playlist] RDz6h-rQmyaag: 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/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 428, in extract_info ie_result = ie.extract(url) File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 131, in extract return self._real_extract(url) File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1572, in _real_extract playlist_title = self._og_search_title(page) File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 355, in _og_search_title return self._og_search_property('title', html, *_kargs) File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 343, in _og_search_property escaped = self._search_regex(self._og_regexes(prop), html, name, flags=re.DOTALL, *_kargs) File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 283, 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 fails without the --extract-audio options
deekerman 2026-02-20 23:28:02 -05:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@jaimeMF commented on GitHub (Nov 26, 2013):

Are you sure you are trying to download a playlist?, it looks like the url has a video id: RDz6h-rQmya.
The video at http://www.youtube.com/watch?v=RDz6h-rQmya is not available and http://www.youtube.com/watch?list=RDz6h-rQmyaag redirects me to the main YouTube page.
Where did you get the url?

@jaimeMF commented on GitHub (Nov 26, 2013): Are you sure you are trying to download a playlist?, it looks like the url has a video id: `RDz6h-rQmya`. The video at http://www.youtube.com/watch?v=RDz6h-rQmya is not available and http://www.youtube.com/watch?list=RDz6h-rQmyaag redirects me to the main YouTube page. Where did you get the url?
Author
Owner

@malcra commented on GitHub (Nov 26, 2013):

The cleaner URL is
http://www.youtube.com/watch?v=QEQBfJwYlLY&list=RDDprmuBbi0N0 and it's not a Playlist, but a Youtube Mix a different type of format for the list identifier.
No problems with playlists, as long as you remember to quote the URL, to avoid backgrounding the process and then only getting the first item
youtube-dl --extract-audio --audio-format mp3 "http://www.youtube.com/watch?v=OtfXPFRg2gw&list=PL4694D83EBFE0B8FB"

youtube-dl --verbose --extract-audio --audio-format mp3 "http://www.youtube.com/watch?v=QEQBfJwYlLY&list=RDDprmuBbi0N0"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '--extract-audio', '--audio-format', 'mp3', 'http://www.youtube.com/watch?v=QEQBfJwYlLY&list=RDDprmuBbi0N0']
[debug] youtube-dl version 2013.11.26
[debug] Python version 2.7.5 - Linux-3.11.8-200.fc19.i686.PAE-i686-with-fedora-19-Schrödinger’s_Cat
[debug] Proxy map: {}
[youtube:playlist] Downloading playlist PLRDDprmuBbi0N0 - add --no-playlist to just download video QEQBfJwYlLY
[youtube:playlist] RDDprmuBbi0N0: 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/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 428, in extract_info
ie_result = ie.extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 131, in extract
return self._real_extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1572, in _real_extract
playlist_title = self._og_search_title(page)
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 355, in _og_search_title
return self._og_search_property('title', html, *_kargs)
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 343, in _og_search_property
escaped = self._search_regex(self._og_regexes(prop), html, name, flags=re.DOTALL, *_kargs)
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 283, 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.

@malcra commented on GitHub (Nov 26, 2013): The cleaner URL is http://www.youtube.com/watch?v=QEQBfJwYlLY&list=RDDprmuBbi0N0 and it's not a Playlist, but a Youtube Mix a different type of format for the list identifier. No problems with playlists, as long as you remember to quote the URL, to avoid backgrounding the process and then only getting the first item youtube-dl --extract-audio --audio-format mp3 "http://www.youtube.com/watch?v=OtfXPFRg2gw&list=PL4694D83EBFE0B8FB" youtube-dl --verbose --extract-audio --audio-format mp3 "http://www.youtube.com/watch?v=QEQBfJwYlLY&list=RDDprmuBbi0N0" [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['--verbose', '--extract-audio', '--audio-format', 'mp3', 'http://www.youtube.com/watch?v=QEQBfJwYlLY&list=RDDprmuBbi0N0'] [debug] youtube-dl version 2013.11.26 [debug] Python version 2.7.5 - Linux-3.11.8-200.fc19.i686.PAE-i686-with-fedora-19-Schrödinger’s_Cat [debug] Proxy map: {} [youtube:playlist] Downloading playlist PLRDDprmuBbi0N0 - add --no-playlist to just download video QEQBfJwYlLY [youtube:playlist] RDDprmuBbi0N0: 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/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 428, in extract_info ie_result = ie.extract(url) File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 131, in extract return self._real_extract(url) File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1572, in _real_extract playlist_title = self._og_search_title(page) File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 355, in _og_search_title return self._og_search_property('title', html, *_kargs) File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 343, in _og_search_property escaped = self._search_regex(self._og_regexes(prop), html, name, flags=re.DOTALL, *_kargs) File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 283, 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.
Author
Owner

@malcra commented on GitHub (Nov 26, 2013):

Okay, doing some further research on this:

  • You Tube Mix seems to be randomly generate lists of up to 49 related videos, so the list ID is generated from the selected video URL, with an R (for Random ?) in front

I did notice that the 'PL' prefix is being added in the initial comment

[youtube:playlist] Downloading playlist PLRDDprmuBbi0N0 - add --no-playlist to just download video QEQBfJwYlLY

but doesn't appear in the subsequent line.

@malcra commented on GitHub (Nov 26, 2013): Okay, doing some further research on this: - You Tube Mix seems to be randomly generate lists of up to 49 related videos, so the list ID is generated from the selected video URL, with an R (for Random ?) in front I did notice that the 'PL' prefix is being added in the initial comment [youtube:playlist] Downloading playlist PLRDDprmuBbi0N0 - add --no-playlist to just download video QEQBfJwYlLY but doesn't appear in the subsequent line.
Author
Owner

@jaimeMF commented on GitHub (Nov 26, 2013):

The fix will be available in the next release, thanks for the report!

@jaimeMF commented on GitHub (Nov 26, 2013): The fix will be available in the next release, thanks for the report!
Author
Owner

@phihag commented on GitHub (Nov 27, 2013):

This fix has been added into youtube-dl 2013.11.28. Type sudo youtube-dl -U to update.

@phihag commented on GitHub (Nov 27, 2013): This fix has been added into youtube-dl 2013.11.28. Type `sudo youtube-dl -U` to update.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl-ytdl-org#1408
No description provided.