summaryrefslogtreecommitdiffstats
path: root/.local/bin/peertubetorrent
diff options
context:
space:
mode:
authorkrisdoodle45 <86745210+krisdoodle45@users.noreply.github.com>2021-08-07 19:10:36 +0000
committerGitHub <noreply@github.com>2021-08-07 15:10:36 -0400
commit418c00cbc459c456ab489d093561d3a3e127aa2b (patch)
tree4e3b2adc61a33fc3055476f72b94ecee9530d29c /.local/bin/peertubetorrent
parente424c8ba8ea59ed229466544b0b4a6a56e3ccecd (diff)
downloadeibhear-418c00cbc459c456ab489d093561d3a3e127aa2b.tar.gz
eibhear-418c00cbc459c456ab489d093561d3a3e127aa2b.tar.zst
eibhear-418c00cbc459c456ab489d093561d3a3e127aa2b.zip
Update peertubetorrent due to changed URL format (#979)
Diffstat (limited to '.local/bin/peertubetorrent')
-rwxr-xr-x.local/bin/peertubetorrent2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/peertubetorrent b/.local/bin/peertubetorrent
index 56f2476..7a7a483 100755
--- a/.local/bin/peertubetorrent
+++ b/.local/bin/peertubetorrent
@@ -3,5 +3,5 @@
# 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"
+link="$(echo "$1" | sed "s/w/download\/torrents/")""-$2.torrent"
transadd "$link"