one-command starter for beginners, free socks proxy pool from iishko, iishko gateway shim + channel sql

This commit is contained in:
eni
2026-11-11 21:09:22 +02:00
parent a676a4a0cf
commit 4b07939e0c
9 changed files with 900 additions and 16 deletions
+10
View File
@@ -10,6 +10,16 @@ ROTATOR = r'C:\Users\User\tmp\zte_rotate3.py'
ZTE_PROXY = 'http://127.0.0.1:8899'
def kill_all_chrome():
"""Kill every chrome process tree (MSYS needs MSYS_NO_PATHCONV for taskkill)."""
env = dict(os.environ, MSYS_NO_PATHCONV='1')
try:
subprocess.run('taskkill /F /IM chrome.exe /T', shell=True,
capture_output=True, timeout=60, env=env)
except Exception:
pass
def cdp_alive(port: int) -> bool:
try:
with urllib.request.urlopen(f'http://127.0.0.1:{port}/json/version', timeout=3) as r: