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

Skip already downloaded files #14606

Closed
victornpb opened this issue Oct 27, 2017 · 2 comments
Closed

Skip already downloaded files #14606

victornpb opened this issue Oct 27, 2017 · 2 comments

Comments

@victornpb
Copy link

@victornpb victornpb commented Oct 27, 2017

What is the purpose of your issue?

  • Feature request (request for a new functionality)

Description of your issue, suggested solution and other information

Im suggesting a new flag

--skip-downloaded-videos

I usually download an entire channel from youtube, but then once I download all the videos it's hard to keep the downloaded folder up to date, would be nice if it could like not download everything again if I ran the command again. So I could set up a script to run it on a specified schedule and it would only download new videos.

youtube-dl https://youtube.com/somechannel

The command could create a downloaded-urls.txt containing the list of all downloaded files, so it could just read this file and skip the videos on this list. Or maybe it could recursively read all the *.json files in the target folder to determine if the video is already there.


My config file

--ignore-errors
--no-mark-watched
--geo-bypass

#playlist starts from most recent to oldest
--playlist-reverse

#save description
--write-description
#save all info
--write-info-json
#save thumbnail
--write-thumbnail

#download all subtitles
--all-subs

--no-mtime 

#Encode the video to another format if necessary
--recode-video mp4

#Embed stuff into video
--embed-thumbnail
--embed-subs
--add-metadata

-o "%(uploader)s/%(upload_date)s.%(playlist_index)s.%(uploader)s.%(title)s.%(id)s.%(ext)s" 
@dstftw dstftw closed this Oct 27, 2017
@victornpb
Copy link
Author

@victornpb victornpb commented Oct 28, 2017

Thanks you, and sorry for not noticing this.

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.