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.
Using --flat-playlist leads to ignoring --dateafter flag #25158
Comments
|
Upload date is not available in flat playlist mode. |
Checklist
Verbose log
Description
I'm trying to get a list of video IDs (not videos themselves, --flat-playlist -j for that) from a youtube channel for a particular period of time, e.g. for March 2020 I put --dateafter 20200301 and --datebefore 20200331 parameters . But it returns the whole channel video list instead of just 3 videos.
Here is the command line:
youtube-dl -i --flat-playlist -j --dateafter 20200301 --datebefore 20200331 --skip-download https://www.youtube.com/channel/UCYO_jab_esuFRV4b17AJtAwIf I substitute --date flags with --playlist-end 5 for example, it's gonna work as expected (returns only 5 items).