fix remote dl script

This commit is contained in:
poka 2022-05-08 04:38:18 +02:00
parent 959559298b
commit 365174e547
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#!/bin/bash
args="$@"
wget "$(curl -s \"https://spotify-dl.p2p.legal/search?$args\" | grep 'https://spotify-dl.p2p.legal/dl' | awk -F '\"' '{print $2}')"
link="$(curl -s "https://spotify-dl.p2p.legal/search?$args" | grep 'https://spotify-dl.p2p.legal/dl' | awk -F '\"' '{print $2}')"
wget "$link"