Last active
May 24, 2020 23:06
-
-
Save petrohs/d83aafd2539a90bc32f4b5ae679d6494 to your computer and use it in GitHub Desktop.
SCc_c¦ registros desde soundcloud
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
URL="$1"; | |
MEDIA=`wget "$URL" -o /dev/null -O - | grep streamUrl | sed -e 's/.*"streamUrl"/"streamUrl"/' | cut -d, -f1 | cut -d\" -f4`; | |
NOM=`basename "$URL"`; | |
wget "$MEDIA" -o /dev/null -O "$NOM".mp3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment