2020-11-14 20:12:38 +00:00
|
|
|
#!/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
|
|
|
|
|
2021-08-07 19:10:36 +00:00
|
|
|
link="$(echo "$1" | sed "s/w/download\/torrents/")""-$2.torrent"
|
2020-11-14 20:12:38 +00:00
|
|
|
transadd "$link"
|