ctxdev autoreg v2: t-online flow, grant banner form, VPS IMAP read, proxy pool loop, dash login
This commit is contained in:
+4
-3
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user