diff options
| author | Jack Jamison <jackqjamison@gmail.com> | 2026-05-15 22:36:21 -0400 |
|---|---|---|
| committer | Jack Jamison <jackqjamison@gmail.com> | 2026-05-15 22:36:21 -0400 |
| commit | 1c58ccb7855719483490abe1982afa12b0488f24 (patch) | |
| tree | d6d6f95477c743c1e2e8f4a64095d50cb491338c /scripts/util/yt-dla | |
| parent | fbe17d51cc2d52261721a46ee54d5dc8f32db3eb (diff) | |
refactor and battery notifier
Diffstat (limited to 'scripts/util/yt-dla')
| -rwxr-xr-x | scripts/util/yt-dla | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/util/yt-dla b/scripts/util/yt-dla new file mode 100755 index 0000000..f87f145 --- /dev/null +++ b/scripts/util/yt-dla @@ -0,0 +1,8 @@ +#!/bin/sh + +echo "$1" +if [ -z "$1" ] ; then + echo "usage: $0 [url of youtube video]" + exit 1 +fi +yt-dlp -x --audio-format mp3 --audio-quality 0 "$1" |
