ctxdev autoreg v2: t-online flow, grant banner form, VPS IMAP read, proxy pool loop, dash login

This commit is contained in:
2026-10-31 21:11:39 +00:00
parent 8285b2f4cf
commit 98f726d4b6
14 changed files with 660 additions and 475 deletions
+4 -3
View File
@@ -1,9 +1,10 @@
#!/usr/bin/env python
"""Launch real Chrome with CDP on 9223 (detached) for context.dev flow."""
import os, subprocess, time, json, urllib.request
import os, sys, subprocess, time, json, urllib.request
CHROME = r"C:\Program Files\Google\Chrome\Application\chrome.exe"
PROF = os.environ.get("CTX_CHROME_PROF", r"C:\Users\User\tmp\ctxdev\chrome_prof")
CHROME = os.environ.get("CTX_CHROME_BIN", r"C:\Program Files\Google\Chrome\Application\chrome.exe")
BASE = os.path.dirname(os.path.abspath(__file__))
PROF = os.environ.get("CTX_CHROME_PROF", os.path.join(BASE, "chrome_prof"))
PORT = int(os.environ.get("CTX_CDP_PORT", "9223"))
PROXY = os.environ.get("CTX_CHROME_PROXY", "")
os.makedirs(PROF, exist_ok=True)