- Added todo.dat for POR and TMP (files need to be cleaned...)
- small fixes in gatherer tool for POR and TMP
This commit is contained in:
wagic.the.homebrew
2009-01-25 10:16:53 +00:00
parent b6a17098a4
commit 7fdad1692c
4 changed files with 5314 additions and 44 deletions

View File

@@ -19,7 +19,7 @@ import os
import os.path
from mtgCommon import *
setinfo=sets['CK']
setinfo=sets['P1']
stripReminderText = False
conffile = open(setinfo['dir'] + ".conf", 'w')
@@ -62,7 +62,9 @@ for cardRow in soup.find(id="_gridResults").findAll('tr',onmouseover="this.style
name = name.replace('"','')
name = name.replace(u'\xe2', 'a')
name = name.replace(u'\xc6', 'AE')
name = name.replace(u'\xe9', 'e')
name = name.replace(u'\xe0', 'a')
manaCost = replaceSymbols(cardRow('td')[1]('font')[0])
manaCost = ''.join(manaCost.contents)
print manaCost

View File

@@ -101,10 +101,10 @@ sets ={'BE':{'name':'Beta',
'gathname':'Unglued',
},
'P1':{'name':'Portal',
'dir':'P1',
'abbrev':'P1',
'gathdirs':['P1/en-us'],
'gathabbrev':'P1',
'dir':'PO',
'abbrev':'PO',
'gathdirs':['PO/en-us'],
'gathabbrev':'PO',
'gathname':'Portal',
},
'P2':{'name':'Portal Second Age',
@@ -198,6 +198,7 @@ sets ={'BE':{'name':'Beta',
},
'TE':{'name':'Tempest',
'dir':'TE',
'gathdirs':['TE/en-us'],
'abbrev':'TE',
'gathabbrev': 'TE',
'gathname':'Tempest',