From 3e5458c95c50c06523de4c3cd8dc425f67d4dea5 Mon Sep 17 00:00:00 2001 From: Tyler Hoang Date: Sat, 6 Nov 2021 21:07:20 -0700 Subject: initial commit --- peertubetorrent | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 peertubetorrent (limited to 'peertubetorrent') diff --git a/peertubetorrent b/peertubetorrent new file mode 100755 index 0000000..7a7a483 --- /dev/null +++ b/peertubetorrent @@ -0,0 +1,7 @@ +#!/bin/sh +# torrent peertube videos, requires the transadd script +# first argument is the video link, second is the quality (480 or 1080) +# 13/07/20 - Arthur Bais + +link="$(echo "$1" | sed "s/w/download\/torrents/")""-$2.torrent" +transadd "$link" -- cgit v1.2.3-13-gbd6f