This commit is contained in:
CoolnsX
2022-01-31 22:44:55 +05:30
parent 850394eed4
commit 12b79c4682
6 changed files with 34 additions and 22 deletions

View File

@@ -59,7 +59,7 @@ fullURL="${baseurl}${url}/"
curl -s $fullURL -o $cachedir/tmp.html
magnet=$(grep -Po "magnet.*\" " $cachedir/tmp.html | tr -d \")
echo $magnet > .cache/maglink
echo $magnet > $HOME/.cache/maglink
st -e $HOME/repos_scripts/torrent "$magnet" &