Fix magnet links not adding.
This commit is contained in:
parent
cb234a12e1
commit
87c6d86d35
2
pirokit
2
pirokit
@ -70,7 +70,7 @@ curl -s $url > tmp.html
|
||||
#scrape magnet link
|
||||
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
|
||||
quick-notify "Pirokit" "Download Started"
|
||||
|
Loading…
Reference in New Issue
Block a user