this post was submitted on 12 Nov 2025
1 points (100.0% liked)

Open Source

42127 readers
43 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 6 years ago
MODERATORS
 

So I'm slowly learning how to us yt-dlp and I'm trying to set up a default command to check a number of channels for new videos. Currently I have it set to download the first 10 new vids of each channel, and to skip anything past a certain date, but it takes a while to get to the date information I guess, which adds unnecessary time and checks, especially for channels that don't have any vids that are new enough.

What I'd like it to do is skip the rest of the channel if it encounters a video that was published outside the given date range, but I'm not finding anything so far. Does this functionality exist? Or am I just out of luck?

My current command looks like this:

yt-dlp -t sleep -I1-10 --dateafter 20251031 --sponsorblock-remove sponsor --format "bestvideo*[filesize<3G]+bestaudio/best" --concurrent-fragments 25 --force-write-archive -o '%(uploader)s-%(upload_date)s-%(title)s [%(id)s].%(ext)s' --download-archive "archive.md" --batch-file "subscriptions.md"

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here