jhao104 / proxy_pool

Python ProxyPool for web spider
https://jhao104.github.io/proxy_pool/
MIT License
21.48k stars 5.17k forks source link

add a support for more Docker ENV Variables #606

Open tomsux opened 2 years ago

tomsux commented 2 years ago

--env HTTP_URL=http://www.xxx.com --env POOL_SIZE_MIN=10

catfishlty commented 2 years ago

@tomsux I think they're already exists.

For HTTP_URL https://github.com/jhao104/proxy_pool/blob/38bcf449a367ba641356bec971e4764b2a997065/handler/configHandler.py#L48-L54

For POOL_SIZE_MIN https://github.com/jhao104/proxy_pool/blob/38bcf449a367ba641356bec971e4764b2a997065/handler/configHandler.py#L72-L74

I hope it can help~