Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RSS feed parser doesn't respect --dateafter #6013

Open
breadcat opened this issue Jun 18, 2015 · 1 comment
Open

RSS feed parser doesn't respect --dateafter #6013

breadcat opened this issue Jun 18, 2015 · 1 comment
Labels

Comments

@breadcat
Copy link

@breadcat breadcat commented Jun 18, 2015

I'm running:

youtube-dl --dateafter now-5day http://www.escapistmagazine.com/rss/videos/list/1.xml

Which 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?

@jaimeMF jaimeMF added the request label Jun 18, 2015
@arend-von-reinersdorff
Copy link
Contributor

@arend-von-reinersdorff arend-von-reinersdorff commented Oct 21, 2018

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

youtube-dl --dateafter now-1month https://www.youtube.com/user/bienadam/

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.