I am trying to figure out a way to download YouTube videos from a playlist using youtube-dl that were uploaded in the past hour - is there a way to do that?

  • You mean all the videos that where uploaded within the last hour, or a video that was uploaded maximum, an hour ago? – M. Becerra Jan 23 '17 at 18:01
  • 2
    I assume older than 1 hour before censors erase some of them. But we are talking many Terabytes per hour and a data centre would be needed. Plus google would see the extraordinary volume and shut you down. – WinEunuuchs2Unix Jan 23 '17 at 18:08
  • I mean if i put in a playlist link into youtube-dl it should reject all uploads that are older than one hour – userlip Jan 23 '17 at 22:47
  • @WinEunuuchs2Unix Just a few ballpark figures: from YouTube Statistics: "300 hours of video are uploaded to YouTube every minute!" This gives 18,000 hours or approximately 2 years of non-stop video material every single hour. – PerlDuck Feb 12 '18 at 15:29

The following command will download all the video on your subscription page uploaded in the past 24 hours:

youtube-dl \
  https://www.youtube.com/feed/subscriptions \
  --dateafter now-1day \
  -u <username>

you'll have to change. See also: Download videos from youtube playlist or user based on date

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.