🗃️ Rendered 31-2 data, added shields
This commit is contained in:
parent
00e5928284
commit
ac2a8e4d28
20 changed files with 98 additions and 8 deletions
|
@ -6,7 +6,6 @@ import re
|
|||
import io
|
||||
from db import *
|
||||
from PIL import Image
|
||||
from playwright.sync_api import sync_playwright
|
||||
|
||||
with open("../../extraction/raw-31-2/data.cdb.json") as f:
|
||||
raw = json.load(f)
|
||||
|
@ -15,7 +14,7 @@ with open("../../clean/31-2/main.zh.mo.json") as f:
|
|||
img = Image.open("../../extraction/raw-31-2/cardIcons.png")
|
||||
|
||||
db.bind(provider="sqlite", filename="../../clean/31-2/data.sqlite3")
|
||||
db.generate_mapping(create_tables=True)
|
||||
db.generate_mapping()
|
||||
|
||||
lines = raw["sheets"][1]["lines"]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue