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

The Daily Show download works for only one segment at a time #760

Closed
6461 opened this issue Mar 26, 2013 · 3 comments
Closed

The Daily Show download works for only one segment at a time #760

6461 opened this issue Mar 26, 2013 · 3 comments

Comments

@6461
Copy link

@6461 6461 commented Mar 26, 2013

TDS has four segments (or acts), and therefor one needs to run youtube-dl four times.

[comedycentral] mon-march-25-2013-peter-dinklage: Extracting information
[comedycentral] mon-march-25-2013-peter-dinklage: Downloading show index
[comedycentral] mon-march-25-2013-peter-dinklage: Downloading configuration for 424701
[comedycentral] mon-march-25-2013-peter-dinklage: Downloading configuration for 424702
[comedycentral] mon-march-25-2013-peter-dinklage: Downloading configuration for 424703
[comedycentral] mon-march-25-2013-peter-dinklage: Downloading configuration for 424704
[download] 424701.mp4 has already been downloaded
[download] Resuming download at byte 3201592
[download] Unable to resume
[download] Destination: 424702.mp4
[download] 100.0% of 148.63M at 726.09k/s ETA 00:00
Traceback (most recent call last):
File "main.py", line 17, in
File "youtube_dl__init__.pyo", line 516, in main
File "youtube_dl__init__.pyo", line 500, in _real_main
File "youtube_dl\FileDownloader.pyo", line 525, in download
File "youtube_dl\FileDownloader.pyo", line 468, in process_info
File "youtube_dl\FileDownloader.pyo", line 790, in _do_download
File "youtube_dl\FileDownloader.pyo", line 279, in try_utime
File "youtube_dl\utils.pyo", line 349, in timeconvert
File "email_parseaddr.pyo", line 158, in mktime_tz
OverflowError: mktime argument out of range

The version I was using:
[debug] youtube-dl version 2013.02.25

@6461
Copy link
Author

@6461 6461 commented Apr 7, 2013

The problem seems to be with the pre-compiled exe file on Windows or Python 2.7.3 on Windows. I tested downloading with Python 3.3.1 and the latest version. It works as it should. Maybe the exe file should be compiled with Python 3.3.1.

[debug] youtube-dl version 2013.04.03
[debug] Python version 3.3.1 - Windows-7-6.1.7601-SP1

@FiloSottile
Copy link
Collaborator

@FiloSottile FiloSottile commented Apr 7, 2013

A platform-dependant bug, fixed in Python 3, that we have to work around.
Info on how here:
http://stackoverflow.com/questions/2518706/python-mktime-overflow-error

I'll do it as soon as I have time.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jul 26, 2016

I guess the original URL is http://www.thedailyshow.com/watch/mon-march-25-2013/peter-dinklage? It now redirects to http://www.cc.com/shows/the-daily-show-with-trevor-noah. Unfortunately, Comedy Central playlists are not supported yet. Please move to #10003 for further discussion.

@yan12125 yan12125 closed this Jul 26, 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
3 participants
You can’t perform that action at this time.