Fix magnet links not adding.
This commit is contained in:
parent
cb234a12e1
commit
87c6d86d35
1 changed files with 1 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue