免费代理池 free-proxy-pool
Collect free http/https/socket proxy from internet
-
The data is updated daily, no tokens are 100 limit per day, and there are 1100 limit per day with tokens.
-
http://47.100.12.55:8118/get
Parameter Description:- protocol Optional parameter http/https E.g: http://47.100.12.55:8118/get?protocol=https
- token Optional parameter E.g: http://47.100.12.55:8118/get?protocol=http&token=o47Fa0mp9SRTf3eiKmqWm69BjG_8
how to get token :Pay attention to WeChat public number 高效工具库(gaoxiaogongjuku)
[mongodb]
host = localhost # host or ip of mongodb
port = 27017 # port or ip of mongodb
[webapi]
host = 0.0.0.0 # host or ip of webapi site
port = 80 # port or ip of webapi site
[func]
freeproxyspider = True # start the process of crawling free http proxy from the network
proxycheckusability = True # start the process of proxy validity check
webapi = True # start webapi
- pip install -r requirements.txt
- install mongodb
py main.py
mongodump -h 127.0.0.1 -d proxies -o mongodb
mongorestore -h 127.0.0.1 -d mongodb/proxies
mongoexport -h 127.0.0.1 -d proxies -c proxies -o proxies.json
mongoimport --db proxies --collection proxies --file proxies.json
pip freeze > requirements.txt