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

Given a video link from playlist, a whole playlist will be downloaded #8028

Closed
nagisa opened this issue Dec 28, 2015 · 3 comments
Closed

Given a video link from playlist, a whole playlist will be downloaded #8028

nagisa opened this issue Dec 28, 2015 · 3 comments

Comments

@nagisa
Copy link

@nagisa nagisa commented Dec 28, 2015

A link from playlist looks like this:

https://www.youtube.com/watch?v=3K0pu4yd9Lc&index=34&list=PLm9ij2x_v01EtvP5_-TNeaBL9Px1XdEw5

Note the index and the list parameters. youtube-dl will download all the videos in the list regardless of a precise video being selected and requested.

@AGSPhoenix
Copy link
Contributor

@AGSPhoenix AGSPhoenix commented Dec 28, 2015

You can use the --no-playlist parameter to suppress this behaviour.

PS C:\Users\Phoenix> youtube-dl "https://www.youtube.com/watch?v=3K0pu4yd9Lc&index=34&list=PLm9ij2x_v01EtvP5_-TNeaBL9Px1
XdEw5" --no-playlist
[youtube:playlist] Downloading just video 3K0pu4yd9Lc because of --no-playlist
[...]
[download] Destination: Let's Play Phoenix Wright - Ace Attorney - Part 34-3K0pu4yd9Lc.f298.mp4
[download]   5.4% of 214.29MiB at  3.85MiB/s ETA 00:52

If you never want the whole playlist, you can also add that parameter to your configuration file.

@nagisa
Copy link
Author

@nagisa nagisa commented Dec 28, 2015

The interesting thing that with a -g flag, it will only generate links for that exact video, making behaviours inconsistent all across the board.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Dec 28, 2015

The interesting thing that with a -g flag, it will only generate links for that exact video, making behaviours inconsistent all across the board.

Wrong. It will generate download URLs for each video in playlist if you quote URL correctly.

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