John Walker
John Walker

Reputation: 1

I want to change my ip address without using vpn or proxy

I scraping some pages and these pages check my IP if it is a vpn or proxy (fake IP) if it is found fake the site is blocking my request please if there is a way to change my IP every x time with real IP Without using vpn or proxy or restart router Note: I am using a Python script for this process

Upvotes: 0

Views: 2697

Answers (2)

Gaurav
Gaurav

Reputation: 543

You can obtain free proxy address from https://www.freeproxylists.net/ . Since these are free proxies so it may get down quickly so sometime you might need to rotate ip with each request you made to your target address.

You can set proxy address, Please follow up this question, how to set proxy, Proxies with Python 'Requests' module

So the flow would be:

  1. Scrape the proxies from above address first.
  2. Then add the proxy header as mentioned in the another question.
  3. Rotate Ip with another request to target.

There are certain blocking factor not only your ip.

  1. Like browser agent (https://www.scrapehero.com/how-to-fake-and-rotate-user-agents-using-python-3/?sfw=pass1637120088).
  2. Too rigorous scraping (try to randomize timing of scraping between two requests).
  3. Not following up robots.txt file (this sometime cant be avoided).

Upvotes: 1

Murilo Chianfa
Murilo Chianfa

Reputation: 56

You IPAddress is fixed by your internet service provider, if you reset your home router, u sometimes can take another IPAddress depending on various internal questions. Some Websites, block by the User-Agent, IP GeoLocation of your request or by rate limit.. but if u sure its is by IP, so the only way to swap your IPAddress is through by VPNTunneling or ProxyMesh.

Upvotes: 1

Related Questions