diff --git a/spotify-dl-remote.sh b/spotify-dl-remote.sh index 9b4ad72..e2bab8f 100755 --- a/spotify-dl-remote.sh +++ b/spotify-dl-remote.sh @@ -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"