commit old updates for mhw, gu

This commit is contained in:
Bryce Allen
2021-03-04 11:12:35 -05:00
parent 084870858e
commit b4c9023a32
12 changed files with 1692 additions and 19 deletions

View File

@@ -6,6 +6,7 @@ import os
import json
import sys
import codecs
import errno
from lxml import etree
@@ -414,6 +415,11 @@ def _parse_sharpness_td(td_element):
def _main():
tmp_path = os.path.join(_pathfix.project_path, "tmp")
try:
os.mkdir(tmp_path)
except OSError as e:
if e.errno != errno.EEXISTS:
raise
weapon_list = []
parser = etree.HTMLParser()
for wtype, urls in _WEAPON_URLS.iteritems():