diff options
Diffstat (limited to 'parser/utils.py')
-rwxr-xr-x | parser/utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/parser/utils.py b/parser/utils.py index 4b7b3f7..087334d 100755 --- a/parser/utils.py +++ b/parser/utils.py @@ -164,6 +164,7 @@ def getSpells(): spell = {} for name in names2names: spell[name] = re.search('(?sm)[\*]*{}[\*:]* (.*?)^[a-zA-Z#\*]'.format(names2names[name]), data).group(1).strip() + spell['name'] = spell['name'].lower() spell['level'] = int(spell['level']) spell['text'] = re.search('(?sm)\*\*Duration:?\*\*:? .*?$(.*)', data).group(1).strip() spell['classes'] = spell['classes'].split() |