# Changelog of MercadoLibre Scraper (`parsebird/mercadolibre-scraper`) Actor

- **URL**: https://apify.com/parsebird/mercadolibre-scraper/changelog.md
- **Full Actor documentation**: https://apify.com/parsebird/mercadolibre-scraper.md

## Changelog

### v1.1 — 2026-09-02

- **Cost / margin fixes** (some runs were running at a loss):
  - Product mode now blocks images, media, fonts, and stylesheets in the browser — cuts Apify residential-proxy bandwidth ~70% with no data loss (everything parsed is server-rendered).
  - Product mode drops the `networkidle` hydration wait (the VIP state blob and JSON-LD are in the initial HTML), lowering per-page time and bandwidth.
  - Product rows now bill on a dedicated `product-scraped` event (browser + residential proxy make them far costlier than review/seller rows). Falls back to `result-scraped` if the new event isn't configured.
- **Edge cases:**
  - Country is auto-detected from the marketplace URL (domain or `MLx` id prefix). A BR/AR/CL/… URL is no longer silently queried against the default MX marketplace (which returned zero rows).
  - `maxItems: 0` now means "no limit" (capped at 5000 reviews/product) instead of falling back to 50.
  - Product mode always routes through the residential proxy on the platform (it is required — plain HTTP is blocked 100%); the `useResidentialProxy` toggle stays informational for that mode.
  - Product mode no longer pushes/charges for an all-null row when a page is blocked or fails to render (this was a direct negative-profit driver), and skips URLs with no MercadoLibre product id up front.
- **Robustness:**
  - HTTP retries now back off exponentially (0.5→5s) and also retry 502/503; request timeout tightened to 20s.
  - Reviews sweep has a 300s wall-clock ceiling; product run has a 30-min ceiling with a 150s per-product timeout.
  - Browser fetch now polls the rendered HTML for the real payload (JSON-LD / Nordic state blob) and tolerates the anti-bot redirect chain aborting `page.content()` mid-navigation instead of bailing on the first hiccup — fixes intermittent empty product results on the platform.

### v1.0 — 2026-08-16

- Initial release
- Three modes: `product` (full PDP data), `reviews` (deep multi-bucket review sweep), `seller` (storefront profile)
- Reviews mode covers all 9 LATAM MercadoLibre marketplaces with a 12-way concurrent rating/sort sweep
- Product mode extracts price, installments, seller reputation, 50+ attributes, variations, buyer Q\&A, and top reviews
- Seller mode extracts storefront profile data (followers, brand, corridor menu, compliance flags)
