youtube-dl icon indicating copy to clipboard operation
youtube-dl copied to clipboard

Added the ability to stop downloading of further videos when the first video is not in daterange

Open Mave95 opened this issue 6 years ago • 9 comments

Added feature requested in #1502

Please follow the guide below

  • You will be asked some questions, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your pull request (like that [x])
  • Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

  • [x] I am the original author of this code and I am willing to release it under Unlicense
  • [ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

  • [ ] Bug fix
  • [ ] Improvement
  • [ ] New extractor
  • [x] New feature

Description of your pull request and other information

Explanation of your pull request in arbitrary form goes here. Please make sure the description explains the purpose and effect of your pull request and is worded well enough to be understood. Provide as much context and examples as possible.

Mave95 avatar Oct 15 '18 00:10 Mave95

This seems very interesting when will this be merged to master? I'm in needed of this now.

ghostyyyyy avatar Dec 18 '18 12:12 ghostyyyyy

Why is this still not merged? 7 months! Have dozens of channel subscriptions, would be nice to download only the lastest videos. But some channels have hundreds of videos, it takes forever! Should stop at first dateafter.

infostatus avatar Jun 20 '19 16:06 infostatus

Why is this still not merged? 7 months! Have dozens of channel subscriptions, would be nice to download only the lastest videos. But some channels have hundreds of videos, it takes forever! Should stop at first dateafter.

I think that's because there is a way around it, by using something like this: --dateafter now-1day (this will check for videos in the last 24h) --playlist-end 10 (this will stop after checking last 10 videos from the channel)

linuxtm avatar Jun 21 '19 15:06 linuxtm

Why is this still not merged? 7 months! Have dozens of channel subscriptions, would be nice to download only the lastest videos. But some channels have hundreds of videos, it takes forever! Should stop at first dateafter.

I think that's because there is a way around it, by using something like this: --dateafter now-1day (this will check for videos in the last 24h) --playlist-end 10 (this will stop after checking last 10 videos from the channel)

dateafter blabla will check all videos one by one, so it's not a workaround. --playlist-end is not a solution for the users who don't want to manually check their big subscription list.

omeringen avatar Dec 20 '19 17:12 omeringen

@dstftw , Could you tell us about why this is not merged please ?

omeringen avatar Feb 03 '20 16:02 omeringen

It is still marked as "do not merge". :(

omeringen avatar May 17 '20 12:05 omeringen

Please merge this feature!!!!

playma avatar Dec 11 '20 01:12 playma

Really need this feature in the mainline. I thought this would be the intended behaviour when first trying out --date and variants.

lwilletts avatar Jan 13 '21 22:01 lwilletts

Why is this feature still not merged??????

niklashuttel avatar Aug 07 '22 19:08 niklashuttel