What problem does it solve?
This playbook removes the manual effort of building and maintaining scrapers for news.ycombinator.com by providing a proven, repeatable extraction recipe for front-page and listing pages so you can reliably obtain ranked story data quickly.
Core Features & Use Cases
- Server-rendered scraping: Uses plain HTTP fetch of server-rendered HTML to avoid running a browser.
- Stable selectors & extraction: Concrete selectors for title, rank, site, points, user, comments, age, and canonical HN URLs so parsers produce consistent JSON.
- Firebase fallback & pagination: Recommends the official Firebase API for full-archive or comment scraping and outlines polite pagination honoring robots.txt crawl-delay.
Quick Start
Use the hackernews skill to extract the front-page story list from https://news.ycombinator.com and return JSON with rank, id, title, url, site, points, user, comments, age, and time.