feat: Implement new database management and scraping utilities, and update application version to 13.0.0.

This commit is contained in:
kiyreload27
2025-12-31 19:50:14 +00:00
parent d7d1318a55
commit a2ac99e8b6
22 changed files with 812 additions and 32 deletions

20
check_event_ids.py Normal file
View File

@@ -0,0 +1,20 @@
import sqlite3
import os
DB_PATH = os.path.join("database", "umamusume.db")
def check_event_card_ids():
conn = sqlite3.connect(DB_PATH)
cur = conn.cursor()
cur.execute("SELECT DISTINCT card_id FROM support_events LIMIT 20")
ids = [row[0] for row in cur.fetchall()]
print(f"Distinct card_ids in support_events: {ids}")
cur.execute("SELECT card_id, name FROM support_cards WHERE card_id IN (1, 2, 3, 4, 5)")
print(f"Cards with IDs 1-5: {cur.fetchall()}")
conn.close()
if __name__ == "__main__":
check_event_card_ids()