20
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/[email protected]

OC by @[email protected]

I’m sure some of you already using it like this but if not, this could be useful for you.

It creates a directory with the channel’s name, create sub-directories with the playlist name, it gives them a number and put them in an order, it can continue to download if you have to cancel it midway.

You can modify it to your needs.

Add this to your ~/.bashrc or your favourite shell config. alias yt='yt-dlp --yes-playlist --no-overwrites --download-archive ~/Downloads/yt-dlp/archive.txt -f "bestvideo[height<=1080]+bestaudio/best[height<=1080]" -o "~/Downloads/yt-dlp/%(uploader)s/%(playlist_title,single_playlist)s/%(playlist_index,00)s - %(title)s - [%(id)s].%(ext)s"'

You can even limit the download speed by adding this parameter: --limit-rate 640K This example is for 5 Mb/s.

top 2 comments
sorted by: hot top new old
[-] [email protected] 3 points 1 week ago
[-] [email protected] 2 points 1 week ago

That's a good one. Thanks for sharing. I'm adding it to my yt-dlp aliases right now.

this post was submitted on 05 Jun 2025
20 points (95.5% liked)

Data Hoarder

619 readers
2 users here now

Keep it about datahoarding.

Rules

founded 2 years ago
MODERATORS