Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Download playlists in reverse order (Negative boundaries for --playlist-start & --playlist-end) #514
Comments
|
I wonder how this would be handled by the poor command line parser... Another intuitive way to implement this feature (that I really like)? |
|
Poor command line parser? Would it have trouble parsing the negative numbers because of the minus sign before it? If it doesn't work there could always be another option added, like --playlist-reverse, which would then negate the meaning of --playlist-start and --playlist-end so that it acts the way described even with positive numbers. Depends which option seems the most intuitive... |
|
#6845 is a duplicate of this. In that issue the suggestion is that |
|
Thanks. I'll close this as there are more discussions in #6845 |
Let's say I want the n last videos from a playlist, it'd be nice to be able to use negative numbers like in python to do that.
or if I want the previous 100 videos.For example if I want the last 100 videos from a playlist I could do