Created
January 6, 2017 19:13
-
-
Save Semmu/59e80a8dd7d466dc1e1a94f5a886bad9 to your computer and use it in GitHub Desktop.
VGM ripper (http://downloads.khinsider.com/), batch download whole albums. First argument to the script must be an album URL.
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 | |
TRACKS=$(curl -v --silent ${1} 2>/dev/null | grep ".mp3\">Download" | sed -e 's/.*href=\"\(.*\)\">Download.*/\1/') | |
for TRACK in ${TRACKS}; do | |
URL=$(curl -v --silent ${TRACK} 2>/dev/null | grep "Click here" | sed -e 's/.*href=\"\(.*\)\">Click.*/\1/') | |
wget ${URL} | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment