KBG.
All projects

Featured project · 2025

Walmart Product Scraper

A Python script that checks a single Walmart product page for the gap between its online and in-store price at a given store and zip code.

  • Spoofs a store-specific session (zip, store ID, browser headers) and detects Walmart's anti-bot 'Robot or human?' wall
  • Falls back through embedded Next.js JSON, Schema.org JSON-LD, regex, and BeautifulSoup selectors to extract price and availability
  • Logs SKU, price, and discount % to CSV, with a companion debug script to re-check a saved page's price

Tech stack

Python