Ecommerce
Track e-commerce book prices
Scrape book listings, prices, stock status, and detail pages from an e-commerce demo site for price monitoring.
Run this template
Clone just this template, configure Notte, and start the run.
Before running
- Have
NOTTE_API_KEYready. Generate an API key.
Need help? Join the Notte Slack.
Price collection path
- Uses a Notte-hosted browser session with Playwright selectors discovered through the Notte CLI.
- Defaults to the public demo site at http://books.toscrape.com/.
- Visits listing pages, optionally opens product detail pages, and prints a JSON price snapshot.
- Uses inline uv script metadata, so no template-specific pyproject.toml is required.
Product inputs
- BOOKS_START_URL: catalog or category URL to start from. Default: http://books.toscrape.com/.
- BOOKS_MAX_PAGES: number of listing pages to scan. Default: 2.
- BOOKS_MAX_BOOKS: maximum books to collect. Default: 40.
- BOOKS_PRICE_ALERT_BELOW: alert threshold in GBP. Default: 20.00.
Commerce variants
- Price monitoring demos.
- Structured catalog scraping.
- Pagination and detail-page enrichment examples.
- Building alerting jobs from a browser-collected snapshot.