Created
April 29, 2013 12:23
-
-
Save lebarde/5481294 to your computer and use it in GitHub Desktop.
To download automatically MIDI files from cyberbass.com :-)
This file contains hidden or 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/sh | |
# Récupération des fichiers MIDI de cyberbass.com | |
ADRESSE=http://www.cyberbass.com/Major_Works/Bach_J_S/ | |
FICHIER=bach_js_b_minor_mass.htm | |
wget $ADRESSE/$FICHIER | |
cat $FICHIER | grep -o CyberBassPlay\(\'.*\' | sed 's/CyberBassPlay('"'"'\(.*\)'"'"'/\1/g' > out.tmp | |
while read MIDFILE; | |
do wget $ADRESSE/$MIDFILE.mid | |
done < out.tmp | |
rm out.tmp | |
## EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment