summaryrefslogtreecommitdiffstats
path: root/.local/bin/ytmusic
blob: 8a725a80d428a422c9d8503ba3cb03eceabc54ae (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/bin/sh

#Description: Takes in a yt-dlp compatible URL and extracts the best audio it can from it and converts it to the opus format.

#Axioms:

#Dependencies: https://packages.debian.org/sid/yt-dlp

yt-dlp --audio-format opus -x -f 'bestaudio' "$1"