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

Download playlist ids into video archive #5343

Closed
RadAd opened this issue Apr 2, 2015 · 3 comments
Closed

Download playlist ids into video archive #5343

RadAd opened this issue Apr 2, 2015 · 3 comments

Comments

@RadAd
Copy link

@RadAd RadAd commented Apr 2, 2015

Is there a way to download the video ids into the archive but not download the videos? I only want to download new videos added to a playlist, not the current ones.

I tried:

youtube-dl --skip-download --download-archive video.txt

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Apr 2, 2015

Is there a way to download the video ids into the archive but not download the videos?

Videos are only added to the archive when the download is finished (that's its purpose).

I only want to download new videos added to a playlist, not the current ones.

I may have misunderstood you, but youtube-dl --download-archive video.txt PLAYLIST_URL will only download the videos that are not already in the archive. It should work, could you give a more detailed explanation of why it doesn't work?

@RadAd
Copy link
Author

@RadAd RadAd commented Apr 2, 2015

I have already seen the videos in the playlist so I do not want to download them. I do want to download new videos as they are added to the list.

So I was trying to create an archive file to skip all the videos currently in the playlist. Then next time I download the playlist it will only download the new videos.

I thought that the --skip_download flag might allow me to create the archive file but it didn't, maybe thats not its purpose.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Apr 2, 2015

Assuming you are using the bash shell, you can run youtube-dl PLAYLIST_URL --get-id | while read ID; do echo youtube $ID; done > archive.txt to create the archive.

@jaimeMF jaimeMF closed this Apr 2, 2015
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.