Repository navigation
v0.1.0
First tagged build of lidl-scraper, the third member of the 2scraper family, alongside stockx-scraper and skyscanner-scraper.
What's in this release
- Three engines sharing one output contract — Playwright (primary, local-first), Selenium, and Puppeteer (via pyppeteer) — same exit codes, same
Productschema, same CLI shape. - Search by product term, or browse a weekly-deals/specials category. JSON or CSV output, with a documented
Productschema and a.meta.jsonsidecar on every completed/partial run. - Grocery-specific fields the sibling repos don't need: unit price, unit size, original (pre-discount) price, discount %, weekly-deal flag, and the store/zip a price reflects.
- Optional 2Captcha integration (captcha solving, Scraping Browser API, Fingerprint API, proxies) — wired in but never required. The default is a plain local headless Chromium: no proxy, no key, no account.
Live-verified against the real site
- The real search URL (
https://www.lidl.com/q/search?q=<query>) and the site's actual framework (Nuxt.js, not the originally-guessed Next.js) are confirmed from a real, browser-rendered capture — not a guess. playwright_scraper.pyhas been run end-to-end against the real, live site multiple times, including a--max-results 60query that crosses Lidl's first lazy-loaded batch: 60 unique SKUs collected across 11 rounds,status: "complete", price coverage 1.0.- Handles Lidl's virtualized/batched result grid: walks viewport-sized scroll steps, clicks the real "View More Products" control (dispatched through the DOM to get past a OneTrust consent overlay), and cross-checks the collected product count against Lidl's own "N Products" counter for an arithmetic completeness guarantee — a scroll limit hit before that count is reached now reports
partialinstead of a falsecomplete.
Still open
- The markup of an actual discounted/"weekly deal" tile — none has been captured live yet.
- Image extraction and the store/zip session-binding mechanism — not yet live-verified.
- Selenium and Puppeteer haven't had their own live end-to-end run yet (Playwright has, several times).
Full details, including what's confirmed vs. still a documented guess, in CHANGELOG.md and README.md.