Erwan
- fixed a few bugs with the parser for subtypes - fixed a bug for plague rats - fixed a bug for P/T parser - First release for the following sets: Mirrodin, Mirage, Lorwyn
This commit is contained in:
@@ -19,12 +19,12 @@ import os
|
||||
import os.path
|
||||
from mtgCommon import *
|
||||
|
||||
setinfo=sets['CFX']
|
||||
setinfo=sets['MIR']
|
||||
stripReminderText = False
|
||||
conffile = open(setinfo['dir'] + ".conf", 'w')
|
||||
|
||||
# FETCH_IMAGES = False
|
||||
FETCH_IMAGES = True
|
||||
FETCH_IMAGES = False
|
||||
# FETCH_IMAGES = True
|
||||
|
||||
url = "http://ww2.wizards.com/gatherer/Index.aspx?setfilter=%s\\&output=Spoiler" % setinfo['gathname']
|
||||
gatherer = urllib.urlopen(url)
|
||||
|
||||
@@ -92,7 +92,14 @@ sets ={'BE':{'name':'Beta',
|
||||
'gathdirs':['CFX/EN'],
|
||||
'gathabbrev': 'CFX',
|
||||
'gathname':'Conflux'
|
||||
},
|
||||
},
|
||||
'LRW':{'name':'Lorwyn',
|
||||
'dir':'LRW',
|
||||
'abbrev':'LRW',
|
||||
'gathdirs':['LRW/EN'],
|
||||
'gathabbrev': 'LRW',
|
||||
'gathname':'Lorwyn',
|
||||
},
|
||||
'UH':{'name':'Unhinged',
|
||||
'dir':'UH',
|
||||
'abbrev':'UH',
|
||||
@@ -184,8 +191,8 @@ sets ={'BE':{'name':'Beta',
|
||||
'gathabbrev': 'AL',
|
||||
'gathname':'Alliances',
|
||||
},
|
||||
'MI':{'name':'Mirage',
|
||||
'dir':'MI',
|
||||
'MIR':{'name':'Mirage',
|
||||
'dir':'MIR',
|
||||
'abbrev':'MI',
|
||||
'gathdirs':['MI/en-us'],
|
||||
'gathabbrev': 'MI',
|
||||
@@ -312,10 +319,11 @@ sets ={'BE':{'name':'Beta',
|
||||
'gathabbrev': 'SCG',
|
||||
'gathname':'Scourge',
|
||||
},
|
||||
'MR':{'name':'Mirrodin',
|
||||
'dir':'MR',
|
||||
'abbrev':'MR',
|
||||
'MRD':{'name':'Mirrodin',
|
||||
'dir':'MRD',
|
||||
'abbrev':'MRD',
|
||||
'gathabbrev': 'MRD',
|
||||
'gathdirs':['MRD/en-us'],
|
||||
'gathname':'Mirrodin',
|
||||
},
|
||||
'DS':{'name':'Darksteel',
|
||||
@@ -406,6 +414,7 @@ sets ={'BE':{'name':'Beta',
|
||||
'dir':'FS',
|
||||
'abbrev':'FS'
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
def maketransU(s1, s2, todel=""):
|
||||
|
||||
Reference in New Issue
Block a user