voidrice/.local/bin/peertubetorrent
Arthur Bais 38815c3ad1
add peertube torrents from newsboat (#760)
* Create peertubetorrent

* macro to torrent new videos on peertube

* fix typo

* rebind
2020-11-14 15:12:38 -05:00

7 lines
258 B
Bash

#!/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/videos\/watch/download\/torrents/")""-$2.torrent"
transadd "$link"