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.
Reverse playlist and then start from particular number #25943
Comments
|
#24487 seems to be what you're waiting for, but needs reviewing (despite seeming incredibly simple) ... |
Checklist
Question
WRITE QUESTION HERE
Want to download all uploaded videos of a channel in reverse order with the renaming of the filename adding a prefix number associated video number, i.e., first video uploaded should have 01 in front of the filename. I used the following command.
youtube-dl --playlist-reverse -o "SubFolder/%(playlist_index)s-%(title)s.%(ext)s" https://www.youtube.com/playlist?list=AbcdEf1GhIjK2lmn3OpqRs4t -f "bestvideo[height<=720][ext=mp4]+bestaudio/[height <=? 720]"This works perfectly.
But I had to stop, unfortunately in the middle, say 6 videos downloaded. Thus, want to start from 7th. I used the following command.
youtube-dl --playlist-reverse -o "SubFolder/%(playlist_index)s-%(title)s.%(ext)s" https://www.youtube.com/playlist?list=AbcdEf1GhIjK2lmn3OpqRs4t -f "bestvideo[height<=720][ext=mp4]+bestaudio/[height <=? 720]" --playlist-start 7Now, what it does is, 1st it removes the top 6 videos without reversing and then reverse the playlist (probably) and starts downloading from 1st video of the channel and the file name starts with 07 along with video title.
What I actually expected/wanted: a command that reverses the playlist first and then starts from --playlist-start.
Probably similar to this issue but that is opened from Sept 2015 :(.