Squashed from chore/license-relicense. Full message preserved in the original branch commitbb77eb5. See ADR-0002 for the decision rationale. Refs: ADR-0002, commitbb77eb5
53 lines
No EOL
1.2 KiB
JSON
53 lines
No EOL
1.2 KiB
JSON
{
|
|
"name": "BBC News Article",
|
|
"description": "Extract article content from BBC News",
|
|
"site": "bbc.com",
|
|
"category": "news",
|
|
"icon": "\ud83d\udcf0",
|
|
"schema": {
|
|
"name": "bbc_article",
|
|
"base_selector": "article",
|
|
"fields": [
|
|
{
|
|
"name": "title",
|
|
"selector": "h1",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"name": "author",
|
|
"selector": "[data-component='byline-block']",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"name": "published_date",
|
|
"selector": "time, [data-testid='timestamp']",
|
|
"type": "attribute",
|
|
"attribute": "datetime"
|
|
},
|
|
{
|
|
"name": "content",
|
|
"selector": "[data-component='text-block']",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"name": "summary",
|
|
"selector": "[data-component='lead-block']",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"name": "image_url",
|
|
"selector": "figure img",
|
|
"type": "attribute",
|
|
"attribute": "src"
|
|
},
|
|
{
|
|
"name": "section",
|
|
"selector": "[data-component='topic-tags'] a",
|
|
"type": "text"
|
|
}
|
|
]
|
|
},
|
|
"url_pattern": "*://www.bbc.com/*",
|
|
"_license": "MIT",
|
|
"_copyright": "Copyright (c) 2026 Rug Munch Media LLC"
|
|
} |