01What gets in the way
- Bot protection. Large stores sit behind services that challenge or block hosting addresses on sight.
- Local prices. Price, stock and delivery options often depend on the shopper’s city or postcode, which the store guesses from the IP.
- Decoy pages. Some stores serve a different price or an empty page to traffic they think is a bot, which quietly corrupts your data.
02Which network to use
03Setup
Rotate for product pages, since each one stands alone. If a store keeps the region in a cookie after you set a postcode, hold one IP for that store’s whole run so the cookie and the address agree:
import requests
def store_session(store, city_flags):
user = f"USERNAME-country-us-{city_flags}-session-{store}-lifetime-30"
proxy = f"http://{user}:PASSWORD@gw.fullstackproxy.com:47631"
s = requests.Session()
s.proxies = {"http": proxy, "https": proxy}
s.headers["Accept-Language"] = "en-US,en;q=0.9"
return s
s = store_session("shopA", "state-texas-city-dallas")
s.get("https://shop.example/set-location?zip=75201", timeout=30)
html = s.get("https://shop.example/p/12345", timeout=30).text04Trusting the numbers
A price feed is only useful if you can tell a real change from a bad fetch. Check each page before you store its price:
- Confirm the product ID or name on the page matches the one you asked for.
- Treat pages without a price, or far smaller than usual, as failed and retry them.
- Record the exit country with every price, so a regional price is never mistaken for a price change.