Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change IP adress with Python
#1
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.
Reply
#2
Please elaborate, an example would be helpful
Reply
#3
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
Reply
#4
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...
Reply
#5
https://www.scrapehero.com/how-to-preven...-scraping/
https://www.scrapehero.com/how-to-rotate...-python-3/
kashcode likes this post
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020