summaryrefslogtreecommitdiffhomepage
path: root/twitchdl
diff options
context:
space:
mode:
Diffstat (limited to 'twitchdl')
-rwxr-xr-xtwitchdl4
1 files changed, 4 insertions, 0 deletions
diff --git a/twitchdl b/twitchdl
new file mode 100755
index 0000000..3fc0fa1
--- /dev/null
+++ b/twitchdl
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+streamlink -o $1 $2 audio && ffmpeg -i $1 $1.mp3 && rm $1 && rsync -P $1.mp3 [email protected]:Downloads/$1.mp3 && rm $1.mp3
+