this post was submitted on 05 Jun 2025
60 points (94.1% liked)

datahoarder

7987 readers
14 users here now

Who are we?

We are digital librarians. Among us are represented the various reasons to keep data -- legal requirements, competitive requirements, uncertainty of permanence of cloud services, distaste for transmitting your data externally (e.g. government or corporate espionage), cultural and familial archivists, internet collapse preppers, and people who do it themselves so they're sure it's done right. Everyone has their reasons for curating the data they have decided to keep (either forever or For A Damn Long Time). Along the way we have sought out like-minded individuals to exchange strategies, war stories, and cautionary tales of failures.

We are one. We are legion. And we're trying really hard not to forget.

-- 5-4-3-2-1-bang from this thread

founded 5 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] anotherandrew@mbin.mixdown.ca 2 points 2 days ago (1 children)

I've been lucky I guess -- haven't had a failure with force formats before, I always thought if it couldn't download the format I wanted it was spinning the conversion over to ffmpeg. I haven't really paid that close attention to the output. :-)

[โ€“] muhyb@programming.dev 1 points 1 day ago

Well, it's generally fine for relatively new stuff but now to think I guess I had this problem with the older videos, older than this webm era. Other than that, it's great to be able to even pick a format. :)