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

  • db2@lemmy.world
    link
    fedilink
    English
    arrow-up
    33
    arrow-down
    1
    ·
    11 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
      link
      fedilink
      English
      arrow-up
      12
      arrow-down
      1
      ·
      11 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
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        1
        ·
        11 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.