use https for format staples

master
melvinzhang 2016-08-16 16:09:38 +08:00
parent 3304d76aa0
commit c47ef0824d
1 changed files with 22 additions and 15 deletions

View File

@ -115,23 +115,30 @@ cards/unimplementable.tsv.add: cards/candidates_full.txt
cards/staples.txt:
curl \
http://www.mtggoldfish.com/format-staples/standard/full/creatures \
http://www.mtggoldfish.com/format-staples/standard/full/lands \
http://www.mtggoldfish.com/format-staples/standard/full/spells \
http://www.mtggoldfish.com/format-staples/modern/full/creatures \
http://www.mtggoldfish.com/format-staples/modern/full/lands \
http://www.mtggoldfish.com/format-staples/modern/full/spells \
http://www.mtggoldfish.com/format-staples/pauper/full/creatures \
http://www.mtggoldfish.com/format-staples/pauper/full/lands \
http://www.mtggoldfish.com/format-staples/pauper/full/spells \
http://www.mtggoldfish.com/format-staples/legacy/full/creatures \
http://www.mtggoldfish.com/format-staples/legacy/full/lands \
http://www.mtggoldfish.com/format-staples/legacy/full/spells \
http://www.mtggoldfish.com/format-staples/vintage/full/creatures \
http://www.mtggoldfish.com/format-staples/vintage/full/lands \
http://www.mtggoldfish.com/format-staples/vintage/full/spells \
https://www.mtggoldfish.com/format-staples/standard/full/creatures \
https://www.mtggoldfish.com/format-staples/standard/full/lands \
https://www.mtggoldfish.com/format-staples/standard/full/spells \
https://www.mtggoldfish.com/format-staples/modern/full/creatures \
https://www.mtggoldfish.com/format-staples/modern/full/lands \
https://www.mtggoldfish.com/format-staples/modern/full/spells \
https://www.mtggoldfish.com/format-staples/pauper/full/creatures \
https://www.mtggoldfish.com/format-staples/pauper/full/lands \
https://www.mtggoldfish.com/format-staples/pauper/full/spells \
https://www.mtggoldfish.com/format-staples/legacy/full/creatures \
https://www.mtggoldfish.com/format-staples/legacy/full/lands \
https://www.mtggoldfish.com/format-staples/legacy/full/spells \
https://www.mtggoldfish.com/format-staples/vintage/full/creatures \
https://www.mtggoldfish.com/format-staples/vintage/full/lands \
https://www.mtggoldfish.com/format-staples/vintage/full/spells \
| pup ".col-card a text{}" | sed "s/'/'/g;s/ (.*)//g" | sort | uniq > $@
cards/unknown.txt:
grep name= `grep "status=" -Lr release/Magarena/scripts_missing` -h | sed 's/name=//' | sort > $@
cards/staples_unknown.txt: cards/staples.txt cards/unknown.txt
join -t"|" <(sort $(word 1,$^)) <(sort $(word 2,$^)) > $@
%.out: $(MAG)
SGE_TASK_ID=$* exp/eval_mcts.sh