Fix magnet links not adding.

This commit is contained in:
CronyAkatsuki 2022-10-14 16:23:31 +02:00
parent cb234a12e1
commit 87c6d86d35

View File

@ -70,7 +70,7 @@ curl -s $url > tmp.html
#scrape magnet link #scrape magnet link
magnet=$(paste tmp.html | tr -d '\n' | sed -E 's#.*(magnet:\?xt=urn:btih:[^"]*).*#\1#') magnet=$(paste tmp.html | tr -d '\n' | sed -E 's#.*(magnet:\?xt=urn:btih:[^"]*).*#\1#')
transmission-remote -a $magnet transmission-remote -a "$magnet"
#notify the user that the download has started #notify the user that the download has started
quick-notify "Pirokit" "Download Started" quick-notify "Pirokit" "Download Started"