-updated gatherer builder with Conflux
This commit is contained in:
wagic.the.homebrew
2009-02-01 13:34:47 +00:00
parent 1ab9af85a6
commit 51a4a32231
2 changed files with 11 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ import os
import os.path
from mtgCommon import *
setinfo=sets['P1']
setinfo=sets['CFX']
stripReminderText = False
conffile = open(setinfo['dir'] + ".conf", 'w')
@@ -74,7 +74,8 @@ for cardRow in soup.find(id="_gridResults").findAll('tr',onmouseover="this.style
htmlText = cardRow('td')[3]
htmlText = replaceSymbols(htmlText)
text = cleanupHTMLText(htmlText, stripReminderText)
text = text.replace(u'\xc6', 'AE')
supertype, subtype = getCardTypes(cardRow)
splitCard = split_re.match(text)

View File

@@ -85,7 +85,14 @@ sets ={'BE':{'name':'Beta',
'gathdirs':['ALA/EN'],
'gathabbrev': 'ALA',
'gathname':'ShardsOfAlara',
},
},
'CFX':{'name':'Conflux',
'dir':'CFX',
'abbrev':'CFX',
'gathdirs':['CFX/EN'],
'gathabbrev': 'CFX',
'gathname':'Conflux'
},
'UH':{'name':'Unhinged',
'dir':'UH',
'abbrev':'UH',