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

Get no of videos in the playlist #15269

Closed
blueray453 opened this issue Jan 16, 2018 · 1 comment
Closed

Get no of videos in the playlist #15269

blueray453 opened this issue Jan 16, 2018 · 1 comment

Comments

@blueray453
Copy link

@blueray453 blueray453 commented Jan 16, 2018

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

My Current

youtube-dl.conf

-u UserName
-p Password
--download-archive archive.txt
-i
-c
--no-warnings
--console-title
--batch-file='batch-file.txt'
-o 'MySafVideos/%(playlist_title)s/%(chapter_number)s - %(chapter)s/%(playlist_index)s-%(title)s.%(ext)s'
-f 'bestvideo[height<=720]+bestaudio/best[height<=720]/worst'

CMD

youtube-dl.exe --playlist-start 52 --playlist-items 52-58 Playlist_URL

Problem

Normally I know what is the number of videos in the playlist (Ex. Collected 71 video ids (downloading 30 of them))

Instead of,
--playlist-items 52-58
I want to pass
--playlist-items 52-last
So that it gets rest of the videos in the playlist. Otherwise I have to check the Collected video ids to know about the remaining videos in the playlist.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jan 16, 2018

Use --playlist-start 52.

@dstftw dstftw closed this Jan 16, 2018
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.