Unable to download mix-playlist from youtube #2505

Closed
opened 2026-02-21 00:23:35 -05:00 by deekerman · 3 comments
Owner

Originally created by @chenchix on GitHub (Jun 25, 2014).

$ youtube-dl --verbose "https://www.youtube.com/watch?v=Is2aapXTMb8&list=RDIs2aapXTMb8#t=0"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=Is2aapXTMb8&list=RDIs2aapXTMb8#t=0']
[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.13.0-27-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] Proxy map: {}
[youtube:playlist] Downloading playlist PLRDIs2aapXTMb8 - add --no-playlist to just download video Is2aapXTMb8
[youtube:playlist] RDIs2aapXTMb8: Downloading Youtube mix
Traceback (most recent call last):
File "/usr/bin/youtube-dl", line 6, in
youtube_dl.main()
File "/usr/lib/python2.7/dist-packages/youtube_dl/init.py", line 804, in main
_real_main(argv)
File "/usr/lib/python2.7/dist-packages/youtube_dl/init.py", line 794, in _real_main
retcode = ydl.download(all_urls)
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 982, in download
self.extract_info(url)
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 1490, in _real_extract
return self._extract_mix(playlist_id)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 1464, in _extract_mix
title = clean_html(title_span)
File "/usr/lib/python2.7/dist-packages/youtube_dl/utils.py", line 403, in clean_html
html = html.replace('\n', ' ')
AttributeError: 'NoneType' object has no attribute 'replace'

Originally created by @chenchix on GitHub (Jun 25, 2014). $ youtube-dl --verbose "https://www.youtube.com/watch?v=Is2aapXTMb8&list=RDIs2aapXTMb8#t=0" [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=Is2aapXTMb8&list=RDIs2aapXTMb8#t=0'] [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.13.0-27-generic-x86_64-with-Ubuntu-14.04-trusty [debug] Proxy map: {} [youtube:playlist] Downloading playlist PLRDIs2aapXTMb8 - add --no-playlist to just download video Is2aapXTMb8 [youtube:playlist] RDIs2aapXTMb8: Downloading Youtube mix Traceback (most recent call last): File "/usr/bin/youtube-dl", line 6, in <module> youtube_dl.main() File "/usr/lib/python2.7/dist-packages/youtube_dl/**init**.py", line 804, in main _real_main(argv) File "/usr/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 794, in _real_main retcode = ydl.download(all_urls) File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 982, in download self.extract_info(url) 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 1490, in _real_extract return self._extract_mix(playlist_id) File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 1464, in _extract_mix title = clean_html(title_span) File "/usr/lib/python2.7/dist-packages/youtube_dl/utils.py", line 403, in clean_html html = html.replace('\n', ' ') AttributeError: 'NoneType' object has no attribute 'replace'
Author
Owner

@ghost commented on GitHub (Jun 26, 2014):

You are using very old version. In latest version it's working for me...

Please try to upgrade your youtube-dl sudo youtube-dl -U or pip or package manager.

Thanks

@ghost commented on GitHub (Jun 26, 2014): You are using very old version. In latest version it's working for me... Please try to upgrade your youtube-dl `sudo youtube-dl -U` or pip or package manager. Thanks
Author
Owner

@tachioma commented on GitHub (Jun 26, 2014):

HI, I'm having the same issue on Ubuntu 14.04 :

johnny@Bankai:/media/nas/Music/Videos$ youtube-dl -v -f 137 http://www.youtube.com/playlist?list=PLgghpQIBpSgMr5x6m MNsCUEvEYPpGi8Pw
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', '-f', '137', 'http://www.youtube.com/playlist?list=PLgghpQIBpSgMr5x6mMNsCUEvEYPpG i8Pw']
[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.13.0-29-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] Proxy map: {}
[youtube:playlist] PLgghpQIBpSgMr5x6mMNsCUEvEYPpGi8Pw: Downloading page #1
WARNING: [youtube:playlist] PLgghpQIBpSgMr5x6mMNsCUEvEYPpGi8Pw: Playlist page is missing OpenGraph title, falling b ack ...
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 vers ion; 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'

(.?)

', 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 yo utube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.

I've tried the -U flag (which fails with :

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

so tried :

sudo apt-get update
sudo apt-get upgrade

No difference :(

@tachioma commented on GitHub (Jun 26, 2014): HI, I'm having the same issue on Ubuntu 14.04 : johnny@Bankai:/media/nas/Music/Videos$ youtube-dl -v -f 137 http://www.youtube.com/playlist?list=PLgghpQIBpSgMr5x6m MNsCUEvEYPpGi8Pw [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['-v', '-f', '137', 'http://www.youtube.com/playlist?list=PLgghpQIBpSgMr5x6mMNsCUEvEYPpG i8Pw'] [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.13.0-29-generic-x86_64-with-Ubuntu-14.04-trusty [debug] Proxy map: {} [youtube:playlist] PLgghpQIBpSgMr5x6mMNsCUEvEYPpGi8Pw: Downloading page #1 WARNING: [youtube:playlist] PLgghpQIBpSgMr5x6mMNsCUEvEYPpGi8Pw: Playlist page is missing OpenGraph title, falling b ack ... 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 vers ion; 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 yo utube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update. I've tried the -U flag (which fails with : It looks like you installed youtube-dl with a package manager, pip, setup.py or a tarball. Please use that to update. so tried : sudo apt-get update sudo apt-get upgrade No difference :(
Author
Owner

@ghost commented on GitHub (Jun 26, 2014):

Easiest way is to remove youtube-dl sudo apt-get remove youtube-dl

and install manually with

sudo wget https://yt-dl.org/downloads/2014.06.26/youtube-dl -O /usr/local/bin/youtube-dl
sudo chmod a+x /usr/local/bin/youtube-dl
@ghost commented on GitHub (Jun 26, 2014): Easiest way is to remove youtube-dl `sudo apt-get remove youtube-dl` and install manually with ``` sudo wget https://yt-dl.org/downloads/2014.06.26/youtube-dl -O /usr/local/bin/youtube-dl sudo chmod a+x /usr/local/bin/youtube-dl ```
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#2505
No description provided.