Update peertubetorrent due to changed URL format (#979)
This commit is contained in:
parent
e424c8ba8e
commit
418c00cbc4
1 changed files with 1 additions and 1 deletions
|
@ -3,5 +3,5 @@
|
||||||
# first argument is the video link, second is the quality (480 or 1080)
|
# first argument is the video link, second is the quality (480 or 1080)
|
||||||
# 13/07/20 - Arthur Bais
|
# 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"
|
transadd "$link"
|
||||||
|
|
Loading…
Reference in a new issue