Squashed from chore/license-relicense. Full message preserved in the original branch commitbb77eb5. See ADR-0002 for the decision rationale. Refs: ADR-0002, commitbb77eb5
43 lines
No EOL
971 B
JSON
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"
|
|
} |