Create peertubetorrent

This commit is contained in:
Arthur Bais 2020-07-13 21:50:07 +03:00 committed by GitHub
parent ebfaf811ac
commit a601b8f31d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,7 @@
#!/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"