Python Forum

Full Version: Change IP adress with Python
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello please can you help me with changing IP address in Python ? I am trying to make web scrapping bot and every time he do something i need to change IP address of my PC or change IP address for web browser.
Please elaborate, an example would be helpful
I do not have code yet. I am just figuring out how it will works. But imagine code that takes some information from web and after that i need to wait 5 minutes because of stupid web system. But if i change IP adress by some way i do not need to wait. So i want to take information, change IP address, take information again. I have no idea how to do something like that with that IP. Sometimes i use VPN extension in my Google chrome browser. I click on button and it changes IP adress and location. I want to do something like this from my python code.

THANK YOU
samuelbachorik Wrote:i need to wait 5 minutes because of stupid web system.
I wouldn't call this a stupid web system. It is rather a wise system that protects the server from stupid bots...