made it so i just click file and paste YouTube url

Linux is amazing

#! /usr/bin/bash
echo "Enter a url"
read a

yt-dlp -x $a
  • JTskulk@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 days ago

    No offense, but I’m seeing a lot of useless scripts here. You can simply put these option in yt-dlp.conf and then just run yt-dlp “url”.

    • RavenofDespair@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      23 hours ago

      I made this for easy use so no typing or terminal. some people like to do thing differently and that’s ok

      • JTskulk@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        15 hours ago

        When you read a, you’re typing in terminal. I made a clipboard action so I just copy an URL to the clipboard, execute actions, and then choose whether to play it or download it on my other machine.