summaryrefslogtreecommitdiffhomepage
path: root/twitchdl
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2023-08-14 18:16:08 -0400
committerrealtradam <[email protected]>2023-08-14 18:16:08 -0400
commit440f126691c42e45b7c85e130c0bec9f6a8ab0df (patch)
tree38f04bf592476ef202eb30b6dbfbcae99ff33081 /twitchdl
downloadScripts-master.tar.gz
Scripts-master.zip
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
+