86
submitted 9 months ago by nix@merv.news to c/piracy@lemmy.dbzer0.com

I want to be able to type yt-dlp [url] and have it automatically use --sponsorblock-remove CATS to remove sponsored section from the download file without having to type --sponsorblock-remove CATS everytime. Is this possible within yt-dlp?

enabling --write-subs, --write-thumbnail, by default for subtitles and thumbnails would also be convenient

you are viewing a single comment's thread
view the rest of the comments
[-] db2@lemmy.world 33 points 9 months ago

Just alias it in your .bashrc

alias yt-dlps='yt-dlp --sponsorblock-remove CATS --write-subs --write-thumbnail'

[-] 7Sea_Sailor@lemmy.dbzer0.com 11 points 9 months ago

This will work, but is not as nice as the official way to do it via a config file, as described by another comment here.

[-] db2@lemmy.world 5 points 9 months ago

It's better actually, because you don't need to mess with the config if you want to run it without the switch.

this post was submitted on 30 Dec 2023
86 points (95.7% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

54066 readers
658 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


💰 Please help cover server costs.

Ko-FiLiberapay


founded 1 year ago
MODERATORS