this post was submitted on 11 Jul 2023
52 points (93.3% liked)
Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ
54476 readers
385 users here now
⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.
Rules • Full Version
1. Posts must be related to the discussion of digital piracy
2. Don't request invites, trade, sell, or self-promote
3. Don't request or link to specific pirated titles, including DMs
4. Don't submit low-quality posts, be entitled, or harass others
Loot, Pillage, & Plunder
📜 c/Piracy Wiki (Community Edition):
💰 Please help cover server costs.
Ko-fi | Liberapay |
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I just have a config file with the settings that I want it to use all the time.
I just have mine set up as an alias in zsh (I assume this would work in bash too):
alias yt='yt-dlp -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4"'
Then just
yt [url of video]
from the command line should automatically grab the best quality video as an .mp4. And of course that can be tweaked to whatever you like (adding subs etc.)Don't forget to block sponsors and get subtitles
alias ytdl='yt-dlp -f mp4 "bestvideo*+bestaudio" --sponsorblock-remove all --write-auto-sub'
On Android I just use Libretube. Has Sponsorblock and you can can grab a csv of all your subs you had from your previous client.
Lastly, I use newsboat and YouTube RSS feeds to subscribe these days. Redirection extension takes me to an invidious instance. Noscript blocks everything. Just need the url for yt-dlp.
Huh, I didn't know it could do sponsorblock as well, neat!