Better readme + download fandom page by default
This commit is contained in:
parent
6768bd748f
commit
732f382d7b
|
@ -101,7 +101,7 @@ def parse_page(page_text):
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
page = load_page_static()
|
page = load_page()
|
||||||
banners = parse_page(page)
|
banners = parse_page(page)
|
||||||
with open('banner_history.json', 'w') as f:
|
with open('banner_history.json', 'w') as f:
|
||||||
json.dump(banners, f, indent=4)
|
json.dump(banners, f, indent=4)
|
||||||
|
|
2
main.py
2
main.py
|
@ -125,7 +125,7 @@ def fill_history(wb: Workbook, banners: list[dict], wish_history: list[dict]):
|
||||||
entry.append(roll_count[banner['name']])
|
entry.append(roll_count[banner['name']])
|
||||||
|
|
||||||
# Group
|
# Group
|
||||||
entry.append(roll_count[banner['name']]) # IDK what this is
|
entry.append(roll_count[banner['name']]) # Example: if 10-pull, they all belong to one group. Resets for each banner.
|
||||||
|
|
||||||
# Banner
|
# Banner
|
||||||
entry.append(banner['name'])
|
entry.append(banner['name'])
|
||||||
|
|
Reference in New Issue