🗃️ Rendered 31-2 data, added shields
This commit is contained in:
parent
00e5928284
commit
ac2a8e4d28
20 changed files with 98 additions and 8 deletions
|
@ -14,7 +14,7 @@ with sync_playwright() as p:
|
|||
browser = p.chromium.launch()
|
||||
page = browser.new_page(device_scale_factor=3)
|
||||
with db_session:
|
||||
for m in Melee.select():
|
||||
for m in [*Melee.select(), *Shield.select()]:
|
||||
print(f"rendering {m.name}...")
|
||||
page.goto(f"http://localhost:8080/{m.name}")
|
||||
page.locator(".container").screenshot(path=f"./output/{m.name}.png")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue