added rules to download cubes from the web

master
melvin 2011-06-24 15:01:27 +08:00
parent 9379f9a891
commit d82c81ad25
1 changed files with 7 additions and 0 deletions

View File

@ -131,3 +131,10 @@ resources/magic/data/icons/missing_card.png:
release/mods/%_theme.zip: release/mods/%_theme
zip -j $@ $^/*
cards/evan_cube.txt:
curl http://www.cubedrafting.com/view-the-cube/ | grep jTip | sed "s/<[^>]*>//g;s/\&\#8217;/'/" > $@
cards/brett_cube.txt:
curl http://www.snazzorama.com/magic/cube/ | grep ":WizardsAutoCard" | sed "s/<\/td>.*//;s/<[^>]*>//g;s/\&\#8217;/'/" > $@