pgaref / HTTP_Request_Randomizer

Proxying Python Requests
http://pgaref.com/blog/python-proxy/
MIT License
151 stars 59 forks source link

Is there a way to get the location based ips? #52

Open ghost opened 6 years ago

ghost commented 6 years ago

Actually, I want to rotate ips from the United States only is there a way to modify the code to archive this?

pgaref commented 6 years ago

Hello @rvssatyaditya

Some providers already store 'country' info as part of the of proxy. To expose that kind of filtering someone would have to implement something like #48 which is quite trivial. I would be happy to provide more details if you want.

Cheers

ghost commented 6 years ago

I'm new to this kind of technology it would be great of you if you can help me figure out this I can see with command line arguments we can pass those parameters but I want to make it hardcoded for us only and moreover, the proxy type.

Regards,

pgaref commented 6 years ago

@rvssatyaditya I will go through this over the weekend and send you an update :)

Cheers

ghost commented 6 years ago

Sure, That works! Thank you!