2024-01-14 15:19:03 -07:00
|
|
|
# The address of the service used by the IP address of each proxy.
|
2024-01-14 14:35:42 -07:00
|
|
|
IP_CHECKER = 'http://[your IP or domain name]:5000'
|
|
|
|
|
2024-01-14 15:19:03 -07:00
|
|
|
# How many threads to use when checking proxy health.
|
2024-01-14 14:35:42 -07:00
|
|
|
MAX_PROXY_CHECKERS = 50
|
|
|
|
|
|
|
|
PROXY_POOL = [
|
|
|
|
"127.0.0.1:3128",
|
|
|
|
"[other server]:3128",
|
|
|
|
]
|
|
|
|
|
2024-01-14 15:19:03 -07:00
|
|
|
# Your login for SmartProxy. Ignore if you aren't using the service.
|
|
|
|
SMARTPROXY_USER = 'example'
|
|
|
|
SMARTPROXY_PASS = 'password'
|
|
|
|
|
2024-02-12 13:41:22 -07:00
|
|
|
# Fix the 503 error on some SmartProxy hosts.
|
|
|
|
# TODO: remove when fixed.
|
2024-02-12 14:07:44 -07:00
|
|
|
SMARTPROXY_BV3HI_FIX = [
|
2024-04-11 17:59:19 -06:00
|
|
|
'https://files.catbox.moe/1hvrlj.png'
|
2024-02-12 14:07:44 -07:00
|
|
|
]
|
2024-02-12 13:41:22 -07:00
|
|
|
|
2024-01-20 12:33:09 -07:00
|
|
|
# Some domains just don't work through SmartProxy. Domains in this list are routed though
|
|
|
|
# your proxies, not SmartProxy.
|
2024-01-14 19:55:55 -07:00
|
|
|
BYPASS_SMARTPROXY_DOMAINS = [
|
2024-01-14 20:14:05 -07:00
|
|
|
'twitter.com'
|
2024-01-14 19:55:55 -07:00
|
|
|
]
|
|
|
|
|
2024-02-12 14:07:44 -07:00
|
|
|
# The domains that SmartProxy gives you to connect to their service.
|
|
|
|
# Leave the array empty to disable this feature.
|
2024-01-14 14:35:42 -07:00
|
|
|
SMARTPROXY_POOL = [
|
|
|
|
# "dc.smartproxy.com:10001",
|
|
|
|
# ...
|
|
|
|
]
|