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

  • AnonTwo@kbin.social
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    I just use command line honestly.

    I wasn’t aware it had subtitle support though. What’s the command for downloading those?

    • B3_CHAD@lemmy.dbzer0.comOP
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      1 year ago

      Download Subtitles: yt-dlp --write-sub --sub-lang (language code) (video URL) Doesn’t work for videos with auto generated subs.

      • NodusCursorius@kbin.social
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Automatic subtitles are also possible to grab by using --write-auto-sub, example:
        yt-dlp --write-auto-sub [video url]

        This next example will attempt to download English subtitles and if that fails, downloads the automatic subtitles instead:
        yt-dlp --sub-lang en --write-sub --write-auto-sub [video url]

        Note - you can not download automatic subtitles at the same time as language subtitles, which means if you wanted English and automatic I’d recommend the --skip-download flag for the second command, which will prevent downloading the entire video again:
        yt-dlp --sub-lang en --write-sub [video url]
        yt-dlp --write-auto-sub --skip-download [video url]

    • Random Dent@lemmy.ml
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      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 year ago

        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.

  • Gutless2615@ttrpg.network
    link
    fedilink
    English
    arrow-up
    0
    arrow-down
    1
    ·
    1 year ago

    “GUI? For yt-dlp? No. No, hell no man. No, I imagine someone would get their ass kicked for saying something like that”

    • Aatube@kbin.social
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I don’t think there’s anything wrong with using GUI tools, they can display a lot more handleable info at once