Erwan
-updated gatherer builder with Conflux
This commit is contained in:
@@ -19,7 +19,7 @@ import os
|
|||||||
import os.path
|
import os.path
|
||||||
from mtgCommon import *
|
from mtgCommon import *
|
||||||
|
|
||||||
setinfo=sets['P1']
|
setinfo=sets['CFX']
|
||||||
stripReminderText = False
|
stripReminderText = False
|
||||||
conffile = open(setinfo['dir'] + ".conf", 'w')
|
conffile = open(setinfo['dir'] + ".conf", 'w')
|
||||||
|
|
||||||
@@ -74,6 +74,7 @@ for cardRow in soup.find(id="_gridResults").findAll('tr',onmouseover="this.style
|
|||||||
htmlText = cardRow('td')[3]
|
htmlText = cardRow('td')[3]
|
||||||
htmlText = replaceSymbols(htmlText)
|
htmlText = replaceSymbols(htmlText)
|
||||||
text = cleanupHTMLText(htmlText, stripReminderText)
|
text = cleanupHTMLText(htmlText, stripReminderText)
|
||||||
|
text = text.replace(u'\xc6', 'AE')
|
||||||
|
|
||||||
supertype, subtype = getCardTypes(cardRow)
|
supertype, subtype = getCardTypes(cardRow)
|
||||||
|
|
||||||
|
|||||||
@@ -86,6 +86,13 @@ sets ={'BE':{'name':'Beta',
|
|||||||
'gathabbrev': 'ALA',
|
'gathabbrev': 'ALA',
|
||||||
'gathname':'ShardsOfAlara',
|
'gathname':'ShardsOfAlara',
|
||||||
},
|
},
|
||||||
|
'CFX':{'name':'Conflux',
|
||||||
|
'dir':'CFX',
|
||||||
|
'abbrev':'CFX',
|
||||||
|
'gathdirs':['CFX/EN'],
|
||||||
|
'gathabbrev': 'CFX',
|
||||||
|
'gathname':'Conflux'
|
||||||
|
},
|
||||||
'UH':{'name':'Unhinged',
|
'UH':{'name':'Unhinged',
|
||||||
'dir':'UH',
|
'dir':'UH',
|
||||||
'abbrev':'UH',
|
'abbrev':'UH',
|
||||||
|
|||||||
Reference in New Issue
Block a user