# Changelog of Leboncoin Deal Score : prix médian, marge, revendeurs (`bonpleincapital/leboncoin-deal-score`) Actor

- **URL**: https://apify.com/bonpleincapital/leboncoin-deal-score/changelog.md
- **Full Actor documentation**: https://apify.com/bonpleincapital/leboncoin-deal-score.md

## Changelog

### 0.8

- Title and input schema translated to French; README rewritten in French for resellers, with a concrete result (median 380 €, ad 270 €, score 71) and a 3-step memo (chercher, comparer, acheter).
- Blocked or empty search no longer fails the run: it ends cleanly with one uncharged `status` row explaining why (better success rate). No captcha bypass.

### 0.7

- Duplicate ads (promoted listings repeated across pages) are removed before the median, so the market price is not skewed.
- French proxy: one session per attempt (same exit IP for the extra pages), polite 1.5 s pause between pages; fewer DataDome refusals. Still no captcha bypass.
- README: reseller checklist added; three worked examples and input examples kept.

### 0.6

- Browser-like navigation headers on every request (fewer needless refusals); proxy order unchanged (French residential, French, any, direct), still no captcha bypass.
- README: three worked deal-score examples for resellers (iPhone, console, bike) and a clearer "blocked run" note.
- Prefilled input kept minimal (`vélo électrique`, 20 results) so the daily test stays short.

### 0.5

- Fewer false "blocked" verdicts: a real results page that merely loads the DataDome script is no longer treated as a block (only a captcha page, or a short page without page data, is). Still no captcha bypass.
- README: clearer reseller workflow (median price, deal score, margin), an input example per use case, a "no results" troubleshooting list and honest note on blocking.

### 0.4

- Robustness after a run that returned 0 results: ad extraction now tries every JSON data block of the page (not only `__NEXT_DATA__`), looks under `ads`, `items` or `listings`, goes deeper into nested data and never raises on a layout change.
- 3 attempts per proxy level (was 2), with a growing pause between attempts; still no captcha bypass.
- README rewritten for resellers: median, deal score, a worked example and tips for precise queries.

### 0.3

- New output fields `verdict` (excellent / good / fair / overpriced) and `potential_margin_eur` (gap to median) for resellers.
- New optional filters `minPrice`, `maxPrice`, `minScore`.
- More robust price parsing (number, string, object, price_cents) and ad URL rebuilt from `list_id` when missing.
- README: score reading table.

### 0.2

- Anti-bot (DataDome) pages are detected; the Actor retries with a fresh French IP and a different browser profile (no captcha bypass).
- More robust median: symbolic prices (< 5 EUR) and statistical outliers are ignored; new field `median_sample_size`.
- Ads are found whichever path Leboncoin's page data uses; duplicates removed.
- Time budget so the daily test ends in well under 5 minutes.

### 0.1

- Leboncoin search, median price and deal score per ad.
