Ge0rg3 / requests-ip-rotator

A Python library to utilize AWS API Gateway's large IP pool as a proxy to generate pseudo-infinite IPs for web scraping and brute forcing.
https://pypi.org/project/requests-ip-rotator/
GNU General Public License v3.0
1.36k stars 140 forks source link

Keep One IP per request until it shutdown #63

Closed zmkaihan closed 1 year ago

zmkaihan commented 1 year ago

I want this to rotate only once and keep that IP for requesting until it shuts down How can I achieve this? Any help will be really appreciated.

Ge0rg3 commented 1 year ago

Hi @zmkaihan, this is not available through this library. However, this is possible via AWS Lambda Functions! For example, if you create a lambda to perform the web/scraping task that you need, each time you hit the lambda you will get a different IP but all requests from within the lamdba invocation will have a consistent IP.