proxy_py icon indicating copy to clipboard operation
proxy_py copied to clipboard

https?

Open mmmcorpsvit opened this issue 5 years ago • 3 comments

  1. how get https proxy?
  2. how limit parser to produce only https proxy's?
  3. how get proxy from non localhost request?

mmmcorpsvit avatar Aug 25 '20 18:08 mmmcorpsvit

  1. What do you mean? All of them are checked against https site
  2. Same as previous
  3. You mean to deploy on the server? Just put nginx in between. There are some config examples https://github.com/DevAlone/proxy_py/tree/master/config_examples

DevAlone avatar Aug 28 '20 09:08 DevAlone

Somehow you can get the list of proxy IP: PORT ? I am not very selenium how to make requests correctly

With this output, I get data like curl -v -X POST http://localhost:55555/api/v1/ --data '{"method": "get", "model": "proxy", "limit": 5, "fields": "address"}'

{"status": "ok", "count": 26428, "data": [{"address": "socks5://165.225.192.194:80"}, {"address": "socks5://36.250.156.115:9999"}, {"address": "socks4://154.73.159.253:8585"}, {"address": "socks4://165.225.210.96:10605"}, {"address": "http://46.101.9.219:3128"}], "has_more": true, "status_code": 200}

but I have to manually delete it every time. ( "limit": 2000,)

Also, I cannot display values ​​greater than 1024

{"status": "error", "status_code": 400, "error_message": "Value of key limit should be from 1 to 1024 (inclusive)"}

martov6 avatar Sep 13 '20 22:09 martov6

@martov6 you probably need to add offset

request 1 - "offset": 0, "limit": 1024 request 2 - "offset": 1024, "limit": 1024 request 3 - "offset": 2048, "limit": 1024

DevAlone avatar Feb 20 '21 14:02 DevAlone