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

#Description: Takes a URL, ideally anything supported by yt-dlp, then downloads the best audio quality version of the URL to your CONTENTDIR.

#Axioms: CONTENTDIR

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


yt-dlp -R inf -o "/home/$USER/Videos/Content/%(uploader)s - %(title)s.%(ext)s" -f bestaudio -ic --add-metadata --sponsorblock-remove all "$1"