Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

https? #12

Open
mmmcorpsvit opened this issue Aug 25, 2020 · 3 comments
Open

https? #12

mmmcorpsvit opened this issue Aug 25, 2020 · 3 comments

Comments

@mmmcorpsvit
Copy link

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

  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

@martov6
Copy link

martov6 commented Sep 13, 2020

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)"}

@DevAlone
Copy link
Owner

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants