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

Comedy Central cause youtube-dl to crash #8962

Closed
GravisZro opened this issue Mar 24, 2016 · 0 comments
Closed

Comedy Central cause youtube-dl to crash #8962

GravisZro opened this issue Mar 24, 2016 · 0 comments

Comments

@GravisZro
Copy link

@GravisZro GravisZro commented Mar 24, 2016

Comedy Central seems to have changed something and the parser isn't dealing with it well.

$ youtube-dl -v http://www.cc.com/full-episodes/kuy9wr/the-daily-show-with-trevor-noah-march-23--2016---lindsey-graham-season-21-ep-21083
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.cc.com/full-episodes/kuy9wr/the-daily-show-with-trevor-noah-march-23--2016---lindsey-graham-season-21-ep-21083']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.02.22
[debug] Python version 2.7.11+ - Linux-4.4.0-rc4-amd64-x86_64-with-Ubuntu-12.04-precise
[debug] exe versions: rtmpdump 2.4
[debug] Proxy map: {}
[ComedyCentral] the-daily-show-with-trevor-noah-march-23--2016---lindsey-graham-season-21-ep-21083: Downloading webpage
[ComedyCentral] 8f819308-4007-47a3-aa5e-c8138a08a45e: Downloading info                                                                                                                       
[ComedyCentral] 3bd191cd-223a-40fb-a6f6-60c62a8a9447: Extracting information                                                                                                                 
[ComedyCentral] 3bd191cd-223a-40fb-a6f6-60c62a8a9447: Downloading video urls                                                                                                                 
Traceback (most recent call last):                                                                                                                                                           
  File "/usr/bin/youtube-dl", line 9, in <module>                                                                                                                                            
    load_entry_point('youtube-dl==2016.2.22', 'console_scripts', 'youtube-dl')()                                                                                                             
  File "/usr/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 411, in main                                                                                                          
    _real_main(argv)                                                                                                                                                                         
  File "/usr/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 401, in _real_main                                                                                                    
    retcode = ydl.download(all_urls)                                                                                                                                                         
  File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1692, in download                                                                                                    
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))                                                                                                          
  File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 666, in extract_info                                                                                                 
    ie_result = ie.extract(url)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 316, in extract
    return self._real_extract(url)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/mtv.py", line 219, in _real_extract
    videos_info = self._get_videos_info(mgid)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/mtv.py", line 183, in _get_videos_info
    return self._get_videos_info_from_url(info_url, video_id)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/mtv.py", line 190, in _get_videos_info_from_url
    [self._get_video_info(item) for item in idoc.findall('.//item')])
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/mtv.py", line 135, in _get_video_info
    description = description_node.text.strip()
AttributeError: 'NoneType' object has no attribute 'strip'

@dstftw dstftw closed this in 5767b4e Mar 24, 2016
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
1 participant
You can’t perform that action at this time.