✨ Outfits
This commit is contained in:
parent
775c833f28
commit
3e6871fb34
127 changed files with 17420 additions and 2 deletions
|
@ -16,6 +16,10 @@ with sync_playwright() as p:
|
|||
with db_session:
|
||||
for m in [*Melee.select(), *Shield.select(), *Ranged.select()]:
|
||||
print(f"rendering {m.name}...")
|
||||
page.goto(f"http://localhost:8080/{m.name}")
|
||||
page.goto(f"http://localhost:8080/weapon/{m.name}")
|
||||
page.locator(".container").screenshot(path=f"./output/{m.name}.png")
|
||||
for o in Outfit.select():
|
||||
print(f"rendering {o.name}...")
|
||||
page.goto(f"http://localhost:8080/outfit/{o.name}")
|
||||
page.locator(".container").screenshot(path=f"./output/{o.name}.png")
|
||||
browser.close()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue