A scraper to download spoiler information of MTGSalvation and merge it into a cockatrice card database
Usage is as follows:
<run script> <set abbreviation> <set name> <spoiler url> <path/to/card/database>
For example:
coffee scraper.coffee KTK "Khans of Tarkir" "http://www.mtgsalvation.com/spoilers/144-khans-of-tarkir" "~/Library/Application Support/Cockatrice/Cockatrice/cards.xml"