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 YouTube playlists in order if the URL specifies a starting video #2983

Open
ddevault opened this issue May 26, 2014 · 4 comments
Open

Download YouTube playlists in order if the URL specifies a starting video #2983

ddevault opened this issue May 26, 2014 · 4 comments
Labels

Comments

@ddevault
Copy link

@ddevault ddevault commented May 26, 2014

Example: https://www.youtube.com/watch?v=3Fz-X9dV2yc&list=PL0F37DF458A2AFFF8

This should start with 3Fz-X9dV2yc and loop around.

@jaimeMF jaimeMF added the request label May 26, 2014
@ghost
Copy link

@ghost ghost commented Jun 1, 2014

The --playlist-end NUMBER option allows you to download a playlist starting at a particular video.

Here is how you would do that with the playlist you gave:

youtube-dl --playlist-start 9 https://www.youtube.com/playlist?list=PL0F37DF458A2AFFF8

@ghost
Copy link

@ghost ghost commented Jun 1, 2014

Reading closer ("...and loop around"), I see what you mean.

youtube-dl --playlist-start 9 https://www.youtube.com/playlist?list=PL0F37DF458A2AFFF8

will stop at the last video in the playlist.

youtube-dl --playlist-start 15 --playlist-end 14 https://www.youtube.com/playlist?list=PL0F37DF458A2AFFF8

generates ValueError: Playlist end must be greater than playlist start

@ghost
Copy link

@ghost ghost commented Jun 1, 2014

I would like to address this issue. Please assign it to me.

@ddevault
Copy link
Author

@ddevault ddevault commented Jun 1, 2014

I would like it to figure this out without the --playlist-start argument. I run youtube-dl from a script and I'd rather not try to query the YouTube API with curl to figure out the index of the linked video.

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.