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.
Currently if you specify a date parameter when downloading from a YouTube channel, youtube-dl will check every single video on that channel to see if it matches the date requirement. While this makes sense for an unorder playlist, or for
--datebefore, it is unnecessary for--dateand--dateafterwhen applied to a YouTube channel (which by its nature is already chronologically ordered).I propose that when using
--dateor--dateafterand specifying a URL which points to a YouTube channel, youtube-dl should stop downloading video info once a video with a date before the specified date is found.For example, if I run youtube-dl with
--date 20160407and specify a channel URL, once a video from 20160406 is found, youtube-dl will not check any further videos.Cheers.