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

option to limit number of pages, youtube. #8675

Closed
wintermutecx opened this issue Feb 26, 2016 · 2 comments
Closed

option to limit number of pages, youtube. #8675

wintermutecx opened this issue Feb 26, 2016 · 2 comments

Comments

@wintermutecx
Copy link

@wintermutecx wintermutecx commented Feb 26, 2016

I download videos from PBS newshour (youtube.com/user/PBSNewsHour/videos )with the option to only grab ones that are up to 5 days old, but the script has to run through over 100 pages and 10,000 videos to match the date. Is it possible to add a new option to also limits the number of initial pages that are downloaded? Thanks :)

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 26, 2016

You can limit according to playlist items's indexes.

--playlist-start NUMBER          Playlist video to start at (default is 1)
--playlist-end NUMBER            Playlist video to end at (default is last)
--playlist-items ITEM_SPEC       Playlist video items to download. Specify
                                 indices of the videos in the playlist
                                 separated by commas like: "--playlist-items
                                 1,2,5,8" if you want to download videos
                                 indexed 1, 2, 5, 8 in the playlist. You can
                                 specify range: "--playlist-items
                                 1-3,7,10-13", it will download the videos
                                 at index 1, 2, 3, 7, 10, 11, 12 and 13.
@dstftw dstftw closed this Feb 26, 2016
@wintermutecx
Copy link
Author

@wintermutecx wintermutecx commented Feb 26, 2016

That certainty speeds things up, thanks kindly :) I hadn't realized it was a playlist :D

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.