feat: 添加静态代理方式

This commit is contained in:
钟保罗
2026-05-20 12:50:24 +08:00
parent ec432eb63e
commit 5a362aebeb
2 changed files with 43 additions and 2 deletions

View File

@@ -34,10 +34,14 @@ CRAWLER_TYPE = (
ENABLE_IP_PROXY = False
# Number of proxy IP pools
IP_PROXY_POOL_COUNT = 2
IP_PROXY_POOL_COUNT = 1
# Proxy IP provider name
IP_PROXY_PROVIDER_NAME = "kuaidaili" # kuaidaili | wandouhttp
IP_PROXY_PROVIDER_NAME = "static" # kuaidaili | wandouhttp | static
# Static proxy configuration (used when IP_PROXY_PROVIDER_NAME is set to "static")
# Format: "http://your_home_domain:port" or "http://user:password@your_home_domain:port"
STATIC_PROXY_URL = "http://your_home_domain:port"
# Setting to True will not open the browser (headless browser)
# Setting False will open a browser