Early BetaYou're using an early version of Scraper.bot.Submit a trouble ticket
Back to templates
Contentextract
4.8
1.9k uses

Hacker News Top Stories

Extract top stories from Hacker News with title, URL, points, author, comment count, and submission time

Target URL
https://news.ycombinator.com/Visit Site
Steps
1

Go to Hacker News front page

navigate

2

Extract stories

extract

FieldSelectorTransform
title.titleline atext
url.titleline aurl
points.scoretext
author.hnusertext
commentCount.subline a:last-childtext
age.agetext
Output Schema
FieldType
titlestring
urlstring
pointsstring
authorstring
commentCountstring
agestring
Example Output
titleurlpointsauthorcommentCountage
Show HN: Open-source browser automation frameworkhttps://github.com/example/browser-auto342 pointsdevbuilder127 comments3 hours ago
PostgreSQL 17 Released with Major Performance Improvementshttps://postgresql.org/about/news/17891 pointspgfan284 comments5 hours ago
Why We Moved from Kubernetes to Bare Metalhttps://blog.techstartup.io/bare-metal567 pointsinfraeng203 comments7 hours ago
API Endpoint
curl -X POST https://api.scraper.bot/v1/flows \
  -H "Authorization: Bearer scr_live_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "templateId": "tmpl-hackernews",
    "url": "https://news.ycombinator.com/"
  }'

Command Palette

Search for a command to run...