Update peertubetorrent due to changed URL format (#979)

This commit is contained in:
krisdoodle45 2021-08-07 19:10:36 +00:00 committed by GitHub
parent e424c8ba8e
commit 418c00cbc4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"