diff options
| author | Arthur Bais <arthur@arthurbais.xyz> | 2020-11-14 22:12:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-14 15:12:38 -0500 |
| commit | 38815c3ad1a3ab75892b8146b424a2bc5e7c84cc (patch) | |
| tree | 21ed9d63313f2dbb5d44971504d89e0f6c413b51 /.local/bin/peertubetorrent | |
| parent | 97358cfe8180b1abfe0d1fe06799277c06fa8f8a (diff) | |
| download | eibhear-38815c3ad1a3ab75892b8146b424a2bc5e7c84cc.tar.gz eibhear-38815c3ad1a3ab75892b8146b424a2bc5e7c84cc.tar.zst eibhear-38815c3ad1a3ab75892b8146b424a2bc5e7c84cc.zip | |
add peertube torrents from newsboat (#760)
* Create peertubetorrent
* macro to torrent new videos on peertube
* fix typo
* rebind
Diffstat (limited to '.local/bin/peertubetorrent')
| -rw-r--r-- | .local/bin/peertubetorrent | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.local/bin/peertubetorrent b/.local/bin/peertubetorrent new file mode 100644 index 0000000..56f2476 --- /dev/null +++ b/.local/bin/peertubetorrent @@ -0,0 +1,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/videos\/watch/download\/torrents/")""-$2.torrent" +transadd "$link" |
