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

ComedyCentral doesn't work #2647

Closed
lightonflux opened this issue Mar 28, 2014 · 6 comments
Closed

ComedyCentral doesn't work #2647

lightonflux opened this issue Mar 28, 2014 · 6 comments

Comments

@lightonflux
Copy link

@lightonflux lightonflux commented Mar 28, 2014

 \youtube-dl --verbose  http://thedailyshow.cc.com/full-episodes/on9wec/march-27--2014---nate-silver http://thecolbertreport.cc.com/full-episodes/mtl42t/march-27--2014---darren-aronofsky
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://thedailyshow.cc.com/full-episodes/on9wec/march-27--2014---nate-silver', 'http://thecolbertreport.cc.com/full-episodes/mtl42t/march-27--2014---darren-aronofsky']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.03.27.1
[debug] Python version 2.7.6 - Linux-3.13-1-amd64-x86_64-with-debian-jessie-sid
[debug] Proxy map: {}
[ComedyCentralShows] on9wec/march-27--2014---nate-silver: Downloading webpage
[ComedyCentralShows] on9wec/march-27--2014---nate-silver: Downloading show index
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl", line 9, in <module>
    load_entry_point('youtube-dl==2014.03.27.1', 'console_scripts', 'youtube-dl')()
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 832, in main
    _real_main(argv)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 822, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1023, in download
    self.extract_info(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 509, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 161, in extract
    return self._real_extract(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/comedycentral.py", line 162, in _real_extract
    duration = int_or_none(content.attrib.get('duration'))
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/utils.py", line 1181, in int_or_none
    return v if v is None else (int(v) // scale)
ValueError: invalid literal for int() with base 10: '557.323'
@phihag phihag closed this in 43f775e Mar 28, 2014
@phihag
Copy link
Contributor

@phihag phihag commented Mar 28, 2014

Thank you for the report. This has been fixed in youtube-dl 2014.3.28. It looks like you installed youtube-dl via pip. If so, use sudo pip -U youtube-dl to update.

@lightonflux
Copy link
Author

@lightonflux lightonflux commented Mar 29, 2014

Thank you very much. Also for the update instructions. Which version of pip do you use? I had to use install --upgrade because -U is not available.

@phihag
Copy link
Contributor

@phihag phihag commented Mar 29, 2014

My pip 1.4.1 has both -U and --upgrade available, but I'll state the apparently more conservative latter version in the future.

@lightonflux
Copy link
Author

@lightonflux lightonflux commented Mar 30, 2014

Weird:

$ pip --version
pip 1.4.1 from /usr/lib/python2.7/dist-packages (python 2.7)
$ pip -U                                    
Usage:   
pip <command> [options]
no such option: -U
@phihag
Copy link
Contributor

@phihag phihag commented Mar 30, 2014

Oops, my post was simply wrong. I meant pip install -U youtube-dl.

@lightonflux
Copy link
Author

@lightonflux lightonflux commented Apr 23, 2014

Comedy Central now uses geo fencing. :(

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.