---
title: "Discussion on \"Geo-Targeted Web Scraping: Country and City-Level Proxies\" | Hashnode"
description: "Discussion on \"Geo-Targeted Web Scraping: Country and City-Level Proxies\". Same URL, different page. Learn how sites detect your location and how to scrape geo-specific content."
url: "https://hashnode.com/posts/geo-targeted-web-scraping-with-proxies/6b007ab7e99d03bad21263de"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Geo-Targeted Web Scraping: Country and City-Level Proxies](https://devers.hashnode.dev/geo-targeted-web-scraping-with-proxies?utm_source=hashnode&utm_medium=feed)

Same URL, different page. Learn how sites detect your location and how to scrape geo-specific content.

3d ago · 14 min read · devers.hashnode.dev  
Read the article

-   [#web-scraping](https://hashnode.com/tag/web-scraping)
-   [#proxy](https://hashnode.com/tag/proxy)
-   [#guide](https://hashnode.com/tag/guide)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#productivity](https://hashnode.com/tag/productivity)
-   [#python](https://hashnode.com/tag/python)

## Written by

[Harsh Raval](https://hashnode.com/@harshravaldj)

@harshravaldj · India

  
[View profile](https://hashnode.com/@harshravaldj)

Dev Stack 💻 • UI/UX Lover 🎨 • AI Tool Explorer 🤖 • Tech Enthusiast 🤖

A tech enthusiast exploring the world of software engineering, AI, web &amp; app development, cloud engineering &amp; design tools. Contact: harshraval181@gmail.com

## Responses 2

Markdown supported · ⌘↵ to post

[Amanda Hawke](https://hashnode.com/@BrainSpate)

[2d ago](https://hashnode.com/posts/geo-targeted-web-scraping-with-proxies/6b007ab7e99d03bad21263de/comment/6b01473969c11d9c3bebd9f0)

One thing worth adding: a correct country from ipinfo doesn't guarantee the target site sees the same city, because each site may use a different geo-IP vendor. Before trusting a run, I compare the exit IP result with what the page itself shows (currency, "Deliver to" label, redirect path). If those disagree, I fall back from city to region to country and log which level I actually got.

[Elsie Rainee](https://hashnode.com/@elsie-rainee)

[2d ago](https://hashnode.com/posts/geo-targeted-web-scraping-with-proxies/6b007ab7e99d03bad21263de/comment/6b0146eb69c11d9c3bebd878)

Curious how others handle ZIP-level content like grocery delivery or local inventory, where the IP alone isn't enough. Do you set the ZIP through a cookie, or drive the site's own location picker? Also interested in whether anyone has found a reliable way to keep city-level targeting consistent across providers.
