Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
With Playlist -- >AttributeError: 'NoneType' object has no attribute 'replace' #2444
Comments
|
Fixed, thanks for the report! |
|
Thanks for the fix :) |
Hope it helps !
youtube-dl --verbose "http://www.youtube.com/watch?v=9Ht5RZpzPqw&list=RDHC5K9jbWx4-y4"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.youtube.com/watch?v=9Ht5RZpzPqw&list=RDHC5K9jbWx4-y4']
[debug] Encodings: locale 'ANSI_X3.4-1968', fs 'ascii', out 'ANSI_X3.4-1968', pref: 'ANSI_X3.4-1968'
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 2014.02.22
[debug] Python version 3.3.4 - Linux-3.13.4-1-ARCH-x86_64-with-arch-Arch-Linux
[debug] Proxy map: {}
[youtube:playlist] Downloading playlist PLRDHC5K9jbWx4-y4 - add --no-playlist to just download video 9Ht5RZpzPqw
[youtube:playlist] RDHC5K9jbWx4-y4: Downloading Youtube mix
Traceback (most recent call last):
File "/usr/bin/youtube-dl", line 9, in
load_entry_point('youtube-dl==2014.02.22', 'console_scripts', 'youtube-dl')()
File "/usr/lib/python3.3/site-packages/youtube_dl/init.py", line 804, in main
_real_main(argv)
File "/usr/lib/python3.3/site-packages/youtube_dl/init.py", line 794, in _real_main
retcode = ydl.download(all_urls)
File "/usr/lib/python3.3/site-packages/youtube_dl/YoutubeDL.py", line 982, in download
self.extract_info(url)
File "/usr/lib/python3.3/site-packages/youtube_dl/YoutubeDL.py", line 493, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python3.3/site-packages/youtube_dl/extractor/common.py", line 158, in extract
return self._real_extract(url)
File "/usr/lib/python3.3/site-packages/youtube_dl/extractor/youtube.py", line 1520, in _real_extract
return self._extract_mix(playlist_id)
File "/usr/lib/python3.3/site-packages/youtube_dl/extractor/youtube.py", line 1494, in _extract_mix
title = clean_html(title_span)
File "/usr/lib/python3.3/site-packages/youtube_dl/utils.py", line 408, in clean_html
html = html.replace('\n', ' ')
AttributeError: 'NoneType' object has no attribute 'replace'