Skip to content

Instantly share code, notes, and snippets.

@KamahGit
Created September 25, 2023 20:31
Show Gist options
  • Save KamahGit/f4abd11ac6b5d5272f23b92dfbf48b1d to your computer and use it in GitHub Desktop.
Save KamahGit/f4abd11ac6b5d5272f23b92dfbf48b1d to your computer and use it in GitHub Desktop.
Download Youtube Video as MP3 in best format, not entire playlist using ytdlp
$link = Read-Host -Prompt "Enter Video Link"
yt-dlp -f 'ba' -x --audio-format mp3 --no-playlist $link -o '%(title)s.mp3'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment