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.
RSS feed parser doesn't respect --dateafter #6013
Comments
|
I noticed the same: The most recent videos are downloaded correctly. But metadata is fetched for all other videos, which makes the operation much slower. Eg
Another way to download new videos only is to use --download-archive. The problem with this is that there's no easy way to prefill the archive file with the old episodes. In case one doesn't want to download the complete feed. The best I came up with was --simulate --get-id and prepending "youtube " in front of the id to match the archive file format. |
I'm running:
youtube-dl --dateafter now-5day http://www.escapistmagazine.com/rss/videos/list/1.xmlWhich correctly gets the most recent video, however it then proceeds to get the next 50 videos from the RSS feed.
Would it be possible to implement the --dateafter switch to look at the posted date of the RSS feed?