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

Is there a way to tell youtube-dl to download only 10 clips in one go from a playlist ? #4354

Closed
shirishag75 opened this issue Dec 2, 2014 · 2 comments

Comments

@shirishag75
Copy link

@shirishag75 shirishag75 commented Dec 2, 2014

Hi all,
I am using youtube-dl version 2014.10.30-1

$ youtube-dl --version
2014.10.30

Now I figured that it's able to download videos listed in a playlist and it even started doing it :-

~$ youtube-dl -f 18 https://www.youtube.com/playlist?list=PL5671Y5M9FStlCRg9hPujnRb5fsNmycez
[youtube:playlist] PL5671Y5M9FStlCRg9hPujnRb5fsNmycez: Downloading webpage
[download] Downloading playlist: Bharat Ek Khoj (All Episodes)
[youtube:playlist] playlist Bharat Ek Khoj (All Episodes): Collected 53 video ids (downloading 53 of them)
[download] Downloading video #1 of 53
[youtube] Setting language
[youtube] 0FK-BlTdqAs: Downloading webpage
[youtube] 0FK-BlTdqAs: Downloading video info webpage
[youtube] 0FK-BlTdqAs: Extracting video information
[download] Destination: Bharat Ek Khoj - Episode 01 - Bharat Mata Ki Jai-0FK-BlTdqAs.mp4
[download]   0.4% of 120.01MiB at 38.38KiB/s ETA 53:09Terminated

Now my question is how to tell youtube-dl that only download 10 videos (one after another) in one go as I don't have the disk-space to download all 53 files in one go.

If there is a way to tell youtube-dl that only download 1-10 and then 10-20 so it will start from then and end at the 10th or from 11th to 20th and so on and so forth.

Looking forward to know.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Dec 2, 2014

Use --playlist-start and --playlist-end options for first and last videos correspondingly to be downloaded.

@dstftw dstftw closed this Dec 2, 2014
@phihag
Copy link
Contributor

@phihag phihag commented Dec 2, 2014

Alternatively, you can also use --max-downloads 10, probably in conjunction with --download-archive to store a list of videos you already have downloaded before, but deleted since then.

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.