• B_DL@lemmynsfw.com
    link
    fedilink
    English
    arrow-up
    7
    ·
    12 hours ago

    I’m new to yt-dlp. Care to share your flags? I’m a little confused on which ones I actually need.

    • tal@lemmy.today
      link
      fedilink
      English
      arrow-up
      21
      ·
      edit-2
      12 hours ago

      I mean, you don’t need anything; it’ll work with no flags. I have these:

      $ cat ~/.config/yt-dlp/config
      --embed-subs
      --embed-metadata
      --embed-chapters
      --embed-thumbnail
      --sponsorblock-mark=all
      $
      

      That’ll just embed some useful metadata in the file.

      • Kairos@lemmy.today
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        8 hours ago

        Note that subtitles doesn’t include automatic subtitles. For that you have to do --write-auto-subs in conjunction

    • SpicyTaint@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      12 hours ago

      I’m a filthy Windows user that’s too lazy to migrate my main PC to Fedora.

      > Path\to\yt-dlp.exe -P <target directory> <URL>
      

      Multiple URLs can be separated by spaces. Put any URLs with ampersands in quotes or remove the ampersand and following arguments.

      You can find a list of all the arguments on the yt-dlp github page