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

With Playlist -- >AttributeError: 'NoneType' object has no attribute 'replace' #2444

Closed
yormi opened this issue Feb 23, 2014 · 2 comments
Closed

Comments

@yormi
Copy link

@yormi yormi commented Feb 23, 2014

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'

@jaimeMF jaimeMF closed this in bc2f773 Feb 23, 2014
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Feb 23, 2014

Fixed, thanks for the report!

@yormi
Copy link
Author

@yormi yormi commented Feb 23, 2014

Thanks for the fix :)

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.