voidrice/.local/bin/peertubetorrent
2020-07-13 21:50:07 +03:00

8 lines
259 B
Bash

#!/bin/sh
# torrent peertube videos, requires the transadd script
# first argument is the video link, second is the quiality (480 or 1080)
# 13/07/20 - Arthur Bais
link="$(echo "$1" | sed "s/videos\/watch/download\/torrents/")""-$2.torrent"
transadd "$link"