undetected-chromedriver 代理配置
A patched ChromeDriver that removes the automation markers Selenium leaves behind. 按下面的配置把它指向 Eveses 住宅池 — 地区写在用户名里,所以换国家不需要动其他任何设置。
proxy.eveses.com:12321 · SOCKS5 在 32325 · 199 个国家 · $7.35/GB 起
It inherits Chrome's limitation exactly: `--proxy-server` cannot carry a password, and the auth dialog it triggers is a native window that no driver can type into. Worse, the usual workaround — an extension that answers the 407 — puts an unpacked extension in the profile, which is itself a detection signal on the sites you brought undetected-chromedriver for. Whitelist the IP instead.
配置
import undetected_chromedriver as uc
opts = uc.ChromeOptions()
# Whitelist this machine's IP in the cabinet, then no credentials are needed
# and no auth extension has to be loaded into the profile.
opts.add_argument("--proxy-server=http://proxy.eveses.com:12321")
driver = uc.Chrome(options=opts)
driver.get("https://target-site.com")undetected-chromedriver 相关说明
Add the machine's public IP to the allowlist before launching, or every request returns 407.
Keep one profile per exit IP — a profile that has been seen from three countries is its own signal.
换国家而不动 undetected-chromedriver
eveses_user_country-deeveses_user_country-de_session-ab12cd34_lifetime-30m地区和会话都写在用户名里,而不是主机或端口。换国家时本页所有配置保持原样 — 你只改一个字符串。可定位 199 个国家,其中大多数还支持城市与州/省令牌。