summaryrefslogtreecommitdiff
path: root/.local/bin/peertubetorrent
blob: 7a7a4839b378790cc38ace968d47118e6e24a4eb (plain)
1
2
3
4
5
6
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"