# Changelog of YouTube Channel Email & Sponsor Leads Scraper \[$2.50/1K] (`appropriate_ideal_ksi/youtube-channel-email-leads-pro`) Actor

- **URL**: https://apify.com/appropriate_ideal_ksi/youtube-channel-email-leads-pro/changelog.md
- **Full Actor documentation**: https://apify.com/appropriate_ideal_ksi/youtube-channel-email-leads-pro.md

## Changelog

### \[1.3.0] - 2026-11-16

#### Fixed & Improved

- **Early-Cancellation `ThreadPoolExecutor` (`cancel_futures=True` + `stop_event`)**: In-flight channel workers now check `stop_event` before `/videos`, `/watch`, and website HTTP fetches and shut down immediately once `maxLeadsPerQuery` / `maxTotalLeads` is met, eliminating trailing latency.
- **Wave-Based Search Expansion**: Enriches primary query results before fanning out across `SEARCH_EXPANSION_MODIFIERS`, cutting standard `10–25` lead runs by `2x–4x` while preserving `1,000+` scale on bulk runs.

### \[1.2.0] - 2026-11-16

#### Fixed & Improved

- **AWS Datacenter `ytInitialData` `/watch` Self-Healing Recovery**: When YouTube omits `ytInitialPlayerResponse.videoDetails` on cloud/datacenter IPs, `parse_video_watch_html` automatically recovers full descriptions, sponsorship emails, unwrapped `commandRuns` redirect URLs (`sponsor_domains`), exact `originalViewCount`, and ISO `uploadDate` from `ytInitialData` (`attributedDescription` + `videoPrimaryInfoRenderer` + `<meta itemprop="uploadDate">`).
- **Pre-Video/Website ICP Short-Circuit (`_passes_about_prefilter`)**: Channels failing `minSubscribers`, `maxSubscribers`, `minTotalViews`, `minVideosCount`, `countries`, or `excludeKeywords` on `/about` exit immediately before `/videos`, `/watch`, and external website HTTP calls (~`5x` faster filtered cloud runs).
- **Form-Placeholder Email Hygiene**: Rejects HTML input placeholder emails (`you@company.com`, `johndoe@`, `@yourcompany.com`, `@acme.com`).

### \[1.1.0] - 2026-11-16

#### Fixed & Improved

- **Sub-160 MB Ultra-Low-Memory Streaming Parser (`256 MB` Container Hardening)**: Replaced full-page `ytInitialData` / `ytInitialPlayerResponse` JSON tree decoding with zero-copy sub-object extraction (`aboutChannelViewModel`, `channelMetadataRenderer`, `videoDetails`, `playerMicroformatRenderer`) and zero-heap C regex scanning on `/@handle/videos`, eliminating `exitCode: 137` OOM peaks on `256 MB` containers.
- **Zero-Copy `bytearray` Transport Decoding & Adaptive `256 MB` Worker Pool**: Eliminated duplicate `bytes(...)` buffer copies in `ScraplingHttpTransport` and added adaptive `APIFY_MEMORY_MBYTES` worker pooling with inter-batch `gc.collect()`.

### \[1.0.0] - 2026-11-16

#### Added

- Pure-HTTP/2 (`scrapling[fetchers]==0.4.15`, `256 MB` RAM) YouTube Channel Business Email, Sponsorship & Creator Stack Scraper.
- Self-healing zero-`<div>` brace-balanced JSON parsers (`ytInitialData` `aboutChannelViewModel` + legacy `channelAboutFullMetadataRenderer` fallback + `ytInitialPlayerResponse` video watch metadata).
- 3-stage public email discovery waterfall: Channel `/about` bio -> Chronological newest video `shortDescription` -> Singleflight external website & Link-in-Bio (`Linktree`, `Beacons`, `Stan Store`) HTTP/2 contact enricher with Cloudflare `data-cfemail` hex decoding and RSC escape sanitization.
- Active sponsorship brand domain detection (`sponsor_domains`), creator monetization stack detection (`Skool`, `Kajabi`, `Stan Store`, `Beehiiv`, `Substack`, `Kit`, `Gumroad`, `Shopify`, `Patreon`), and 9 social profile extractors.
- Innertube continuation pagination + 12-modifier niche expansion (`1,000+` unique channels/query), pre-charge ICP filters (`onlyWithEmail`, `onlySponsorFriendly`, `minSubscribers`, `maxSubscribers`, `minLatestVideoViews`, `activeWithinDays`, `countries`, `excludeKeywords`), stateful Key-Value Store deduplication (`onlyNewChannels`), and 25-item Free-Plan preview protection.
