Download videos from a given channel URL on a certain day
Is there a way within yt-dl to download every video (or at least extract the URL of every video) on a Youtube channel for a given day (or datetime range)?
Example:
Channel A has 4 videos total, 2 are uploaded since midnight yesterday. I want to download both of those videos, but not the other 2 older videos (there are plenty of options for downloading an entire channel's archive, that is not what I am trying to do).
Posted Sep 8, 2020, 1:43 AM UTC
Not with YT-Dl. Set up a cronjob.
Sorry, I should have specified. I am already running a cronjob at midnight for my downloader script, I was wondering specifically how I download the videos within a channel for that given day.
are you asking because you've previously downloaded the files before that given day? or because you want to limit youtube-dl from going through entire list of videos?
there are several ways to do that if so.
i use the combination of the download archive, which makes youtube-dl automatically skip videos previously downloaded, and i use the playlist limit (
--playlist-end 50) which stops it from having to download all the pages of videos before it starts downloading, especially useful on big channels.if you only use the date options, youtube-dl will still have to download the entire channel list of videos because it does not know what order the videos are in.