I was planning on using either the one by kannagi0303 from github or stacher.

update: I have setup the one from github, seems to do the job. Still can’t figure out downloading subtitles using gui and using the yt-dlp terminal version for that. Link for what I am using: https://github.com/kannagi0303/yt-dlp-gui

  • Random Dent@lemmy.ml
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 年前

    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.)

    • z3rOR0ne@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 年前

      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.