add rule to query magiccards.info for image URL

master
melvinzhang 2015-03-22 11:19:56 +08:00
parent 7a9cf9b853
commit 580182e74c
1 changed files with 3 additions and 0 deletions

View File

@ -782,3 +782,6 @@ parse_new.txt:
git mv $^ release/Magarena/scripts
$(eval NAME := $(shell grep "name=" $^ | sed 's/name=//'))
git commit -m "add ${NAME}"
images.url: missing_images
cat $^ | parallel -k -q curl -G http://magiccards.info/query --data-urlencode 'q=!{}' | grep -o "http.*.jpg" > $@