Skip to content

Commit f728099

Browse files
committed
[bin/ytrip] Add script for downloading MP3s from youtube
1 parent abd279e commit f728099

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

bin/ytrip

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/usr/bin/env bash
2+
3+
set -euxo pipefail
4+
5+
youtube-dlc \
6+
--verbose \
7+
--yes-playlist \
8+
--ignore-errors \
9+
--format bestaudio \
10+
--extract-audio \
11+
--audio-format mp3 \
12+
--audio-quality 0 \
13+
--output ~/Dropbox/music/new/youtube/'%(title)s.%(ext)s' \
14+
$1

0 commit comments

Comments
 (0)