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.
The Daily Show extractor error #5449
Comments
|
I have a similar problem, but I get a different error:
|
|
What happens (just for the Daily Show, not for any of the other CC programs I tried) is that when the segment configuration is downloaded, it returns a short XML document with the following text:
Part of the reason might be that the |
|
I also tried to use the email shareable url and got a different error: python youtube-dl -vt http://on.cc.com/1JMloyv |
|
Looking at the requests made when viewing in Firefox, it looks like it sets "device" to "Other": |
|
The problem is that the playlist URL youtube-dl requests contains "thedailyshow.cc.com" and the flash player requests "thedailyshow.com" (without "cc"). I've made a quick patch which solves the problem for now, though I'm not sure it works as a permanent solution: https://github.com/jspenguin/youtube-dl/commit/510997866d7349b6b7f29f60f8c06c45d8e831c9 |
|
That changeset worked for me. |
|
I can also confirm the fix works, thanks. |
|
Will be fixed in the next version. Thanks for the report. |
|
This has been fixed in youtube-dl 2015.04.26. See our FAQ if you have problems updating. |
python youtube-dl --verbose http://thedailyshow.cc.com/full-episodes/9q0y2l/april-15--2015---billy-crystal
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://thedailyshow.cc.com/full-episodes/9q0y2l/april-15--2015---billy-crystal
']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2015.04.09
[debug] Python version 3.3.2 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-69060-gcd960c8, rtmpdump 2.4
[debug] Proxy map: {}
[ComedyCentralShows] april-15--2015---billy-crystal: Downloading webpage
[ComedyCentralShows] april-15--2015---billy-crystal: Downloading show index
Traceback (most recent call last):
File "C:\Python33\lib\runpy.py", line 160, in run_module_as_main
"main", fname, loader, pkg_name)
File "C:\Python33\lib\runpy.py", line 73, in run_code
exec(code, run_globals)
File "youtube-dl__main.py", line 19, in
File "youtube-dl\youtube_dl__init__.py", line 404, in main
File "youtube-dl\youtube_dl__init__.py", line 394, in _real_main
File "youtube-dl\youtube_dl\YoutubeDL.py", line 1446, in download
File "youtube-dl\youtube_dl\YoutubeDL.py", line 651, in extract_info
File "youtube-dl\youtube_dl\extractor\common.py", line 275, in extract
File "youtube-dl\youtube_dl\extractor\comedycentral.py", line 218, in _real_extract
AttributeError: 'NoneType' object has no attribute 'attrib'