pryscraper/templates/hackernews-post.json
cryptorugmunch 8d25702eca chore(license): re-license to dual MIT (core) + BSL 1.1 (stealth)
Squashed from chore/license-relicense. Full message preserved in the
original branch commit bb77eb5. See ADR-0002 for the decision rationale.

Refs: ADR-0002, commit bb77eb5
2026-07-02 19:59:18 +02:00

43 lines
No EOL
971 B
JSON

{
"name": "Hacker News Post",
"description": "Extract post details from Hacker News",
"site": "news.ycombinator.com",
"category": "news",
"icon": "\ud83d\udcf0",
"url_pattern": "*://news.ycombinator.com/item*",
"schema": {
"name": "hackernews_post",
"base_selector": ".fatitem",
"fields": [
{
"name": "title",
"selector": ".title a",
"type": "text"
},
{
"name": "url",
"selector": ".title a",
"type": "attribute",
"attribute": "href"
},
{
"name": "points",
"selector": ".score",
"type": "text",
"transform": "int"
},
{
"name": "author",
"selector": ".hnuser",
"type": "text"
},
{
"name": "comment_count",
"selector": ".subtext a:last-child",
"type": "text"
}
]
},
"_license": "MIT",
"_copyright": "Copyright (c) 2026 Rug Munch Media LLC"
}