Pass set name to fullspoil for automatic URL creation

This commit is contained in:
tritoch 2017-06-27 12:45:42 -05:00
parent fe96df161d
commit c32b280391

View File

@ -106,7 +106,7 @@ if __name__ == '__main__':
if presets['scryfallComparison']:
mtgjson = spoilers.smash_mtgs_scryfall(mtgs, scryfall)
if 'fullSpoil' in setinfo and setinfo['fullSpoil']:
wotc = spoilers.scrape_fullspoil()
wotc = spoilers.scrape_fullspoil('', setinfo)
spoilers.smash_fullspoil(mtgjson, wotc)
[mtgjson, errors] = spoilers.error_check(mtgjson, card_corrections) #check for errors where possible
errorlog += errors