   'Unlimited Edition'
   'Limited Edition Beta'
   'Limited Edition Alpha'
+  'Portal Three Kingdoms'
+  'Portal Second Age'
+  'Portal'
+  'Unhinged'
+  'Unglued'
+  'Magic: The Gathering-Commander'
 ]
 
 Sets = {}

  if set = sets.pop()
    scrape set
  else
    fs.write 'cards/sets.json' , JSON.stringify(Sets) , 'w'
    fs.write 'cards/cards.json', JSON.stringify(Cards), 'w'
    phantom.exit()

fs = require 'fs'
webpage = require 'webpage'

# XXX split cards (eg Fire // Ice) need massaging

sets = [
  'Gatecrash'
