What problem does it solve?
This Skill eliminates brittle, manual scraping attempts against Product Hunt's Cloudflare‑protected homepage by providing a proven playbook that navigates the site in a real Chrome instance, clears challenges, and extracts structured post metadata reliably.
Core Features & Use Cases
- Cloudflare bypass: Connects to a real Chrome via puppeteer.connect to clear managed challenges without stealth plugins or captcha solvers.
- DOM-first extraction: Parses server-rendered section[data-test="homepage-section-*"] blocks with cheerio to return id, rank, name, tagline, topics, url, votes, and comments.
- Resilience: Includes retry guidance for intermittent 502 responses and explicit teardown advice to avoid killing the user's real Chrome.
- Use Case: Ideal for analytics, monitoring, or archival workflows that need the top Product Hunt posts (today/yesterday/last-week/last-month) as structured records.
Quick Start
Scrape the Product Hunt homepage at https://www.producthunt.com and return parsed post objects including id, rank, name, tagline, topics, url, votes, and comments.