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

23
check_correlation.py Normal file
View File

@@ -0,0 +1,23 @@
import sqlite3
import os
DB_PATH = os.path.join("database", "umamusume.db")
def check_correlation():
conn = sqlite3.connect(DB_PATH)
cur = conn.cursor()
cur.execute("SELECT card_id, name FROM support_cards ORDER BY card_id ASC LIMIT 1")
first_card = cur.fetchone()
print(f"First card: {first_card}")
if first_card:
# Check what events ID 1 points to
cur.execute("SELECT event_name FROM support_events WHERE card_id = 1 LIMIT 1")
first_event = cur.fetchone()
print(f"First event for card_id 1: {first_event}")
conn.close()
if __name__ == "__main__":
check_correlation()