import sqlite3

for p in ["Default", "Profile 2", "Profile 3", "Profile 4", "Profile 5", "Profile 7"]:
    db = rf"C:\Users\Admin\AppData\Local\Google\Chrome\User Data\{p}\Network\Cookies"
    try:
        conn = sqlite3.connect(f"file:{db}?mode=ro", uri=True)
        cur = conn.cursor()
        cur.execute("SELECT DISTINCT host_key FROM cookies WHERE host_key LIKE '%muse%' OR host_key LIKE '%meta%'")
        rows = [r[0] for r in cur.fetchall()]
        print(f"[{p}] -> {rows}")
        conn.close()
    except Exception as e:
        print(f"[{p}] -> Error: {e}")
