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

Feature Request: Download all videos that haven't been downloaded before #7924

Closed
forthrin opened this issue Dec 20, 2015 · 8 comments
Closed

Feature Request: Download all videos that haven't been downloaded before #7924

forthrin opened this issue Dec 20, 2015 · 8 comments

Comments

@forthrin
Copy link

@forthrin forthrin commented Dec 20, 2015

Take a look at Apple Trailers Downloader. It has the brilliant function of continuously downloading all new ("Latest") trailers from Apple, by keeping track of already downloaded trailers by checking a text file rather than local file existence. Thus trailers that are downloaded earlier and deleted are not downloaded again!

youtube-dl already supports Apple Trailers. Could a similar "download all videos that haven't been downloaded earlier" functionality be added for all sites that have video lists of some sort. I reckon a single text file would suffice for keeping track of all downloaded videos.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Dec 20, 2015

Use --download-archive.

@dstftw dstftw closed this Dec 20, 2015
@forthrin
Copy link
Author

@forthrin forthrin commented Dec 20, 2015

You guys have thought of everything, haven't you? :) I really got to read the manual thoroughly some day! However, which URL do I give youtube-dl for downloading all (latest) Apple Trailers?

youtube-dl --download-archive ~/.youtube-dl.txt http://trailers.apple.com/#section=justadded
ERROR: Unsupported URL: http://trailers.apple.com/#section=justadded
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Dec 20, 2015

Trailers' playlists are unsupported currently.

@forthrin
Copy link
Author

@forthrin forthrin commented Dec 20, 2015

I'll ask the author of ATD if he would be willing to merge the functionality into youtube-dl. Both tools are Python which should make things easier.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Dec 20, 2015

youtube-dl may not depend on BeautifulSoup.

@forthrin
Copy link
Author

@forthrin forthrin commented Dec 23, 2015

See comment aag/apple_trailer_downloader#9 (comment) It would be nice if someone took the effort to support playlists at Apple Trailers.

@remitamine
Copy link
Collaborator

@remitamine remitamine commented Dec 23, 2015

support playlists at Apple Trailers.

will be supported in the next version.

youtube-dl -F http://trailers.apple.com/#section=mostpopular
[appletrailers:section] mostpopular: Downloading JSON metadata
[download] Downloading playlist: Most Popular
[appletrailers:section] playlist Most Popular: Collected 80 video ids (downloading 80 of them)
[download] Downloading video 1 of 80
[appletrailers] diablo: Downloading XML
[appletrailers] diablo-tlr1: Downloading settings json
[download] Downloading playlist: diablo
[appletrailers] playlist diablo: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[info] Available formats for diablo-trailer:
format code  extension  resolution note
0            mov        848x360    
1            mov        848x360    
2            mov        1280x544   
3            mov        1280x544   
4            mov        1920x816   (best)
[download] Finished downloading playlist: diablo
[download] Downloading video 2 of 80
...
@forthrin
Copy link
Author

@forthrin forthrin commented Dec 23, 2015

That's brilliant news! I really appreciate it and will use it a lot. I'm quite impressed with the prompt responses for this tool. Keep up the good work!

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.