How do I enable sponsorblock by default for ytdlp?

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

Mechanite,

Today I learned yt-dlp has sponsorblock built in

Bldck,

Create a configuration file. github.com/yt-dlp/yt-dlp has the documentation

BlackSkinnedJew,

If someone didn’t know there is a yt-dlp android front end called YTDLnis, use at your own risk but use it it’s fucking great.

mbeezy,
@mbeezy@sh.itjust.works avatar

Also there’s Seal which is a bit better imo

BlackSkinnedJew,

I will check it thx for the info 👍👍

CaptainBlagbird,
@CaptainBlagbird@lemmy.world avatar

Why would you want to remove cats, they’re adorable 🥺

SeedyOne,

I didn’t even realize it was POSSIBLE to differentiate those sections let alone remove them. Thanks for inadvertently informing me.

fortniteplaya,

I’m sure there would be a way to create a script that puts the commands that you’d like in for a given url. Also haven’t used yt-dlp, it’s nice that they have sponsorblock built in.

db2,

Just alias it in your .bashrc

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

7Sea_Sailor,

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,

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

zoostation,
wesker, (edited )
@wesker@lemmy.sdf.org avatar

I use the section 4 approach with great success.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • piracy@lemmy.dbzer0.com
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #