# Changelog of Flippa Scraper — Online Business, Website & Startup Listings (`haketa/flippa-scraper`) Actor

- **URL**: https://apify.com/haketa/flippa-scraper/changelog.md
- **Full Actor documentation**: https://apify.com/haketa/flippa-scraper.md

## Changelog

### 0.2.0 — 2026-11-01

- **Fixed: Flippa redesign broke extraction (0 results).** Flippa migrated its search pages away from the old inline `const STATE = {…}` JSON to server-rendered Hotwire/Turbo cards, so the previous build returned **0 listings**. Rewrote the parser to read the live `<li id="listing-…">` search cards directly with **cheerio**, keyed on the on-card labels (Monthly Revenue / Monthly Profit / Profit Multiple / Age / Type / Industry / Asking price) so it is resilient to styling changes.
- **Fixed pagination.** Flippa's native paging changed from `?page[number]=N` to `?page=N` (50 listings per page). The scraper now reads the total result count ("5,551 results") and walks `?page=N` to the last page, de-duplicating by `listingId`.
- **Fixed `price` coverage (56% → 100%).** Discounted ("Reduced") listings render the price in a two-span block (current price + struck-through original + "Reduced N%"), which the old selector missed. The new price parser handles both the simple and reduced layouts.
- **Fixed `country` coverage (50% → 100%).** Location is now read from the span after the map-pin icon, so single-token countries (Australia, Canada, United Kingdom, …) are captured — not just "State, Country" strings.
- **Added price-drop fields from data already on the card:** `originalPrice`, `priceDropped` and `priceDroppedPercent` now populate for reduced listings (~44% of a broad search).
- **K/M/B-aware number parsing:** "USD $327K" → 327000, "USD $22.6K" → 22600, "2.8x" → 2.8, "USD $750,000" → 750000.
- **Verified** a fresh run of 500 unique listings in ~30s on datacenter proxy: core fields (title, url, price, propertyType, category, profitAverage, revenueAverage, multiple, ageYears, country) at ~100% coverage, 0 duplicates, no value bugs.
- Refreshed the README to match the current output and added this changelog.
