Squashed from chore/license-relicense. Full message preserved in the original branch commitbb77eb5. See ADR-0002 for the decision rationale. Refs: ADR-0002, commitbb77eb5
60 lines
No EOL
1.4 KiB
JSON
60 lines
No EOL
1.4 KiB
JSON
{
|
|
"name": "Office Depot Product",
|
|
"description": "Extract product details from Office Depot",
|
|
"site": "officedepot.com",
|
|
"category": "ecommerce",
|
|
"icon": "\ud83d\udcce",
|
|
"schema": {
|
|
"name": "officedepot_product",
|
|
"base_selector": ".product-detail",
|
|
"fields": [
|
|
{
|
|
"name": "title",
|
|
"selector": "h1",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"name": "price",
|
|
"selector": "[class*='price']",
|
|
"type": "text",
|
|
"transform": "float"
|
|
},
|
|
{
|
|
"name": "rating",
|
|
"selector": "[class*='rating']",
|
|
"type": "attribute",
|
|
"attribute": "aria-label"
|
|
},
|
|
{
|
|
"name": "review_count",
|
|
"selector": "[class*='review']",
|
|
"type": "text",
|
|
"transform": "int"
|
|
},
|
|
{
|
|
"name": "model",
|
|
"selector": "[class*='model']",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"name": "description",
|
|
"selector": "[class*='description']",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"name": "image_url",
|
|
"selector": "[class*='image'] img",
|
|
"type": "attribute",
|
|
"attribute": "src"
|
|
},
|
|
{
|
|
"name": "sku",
|
|
"selector": "[itemprop='sku']",
|
|
"type": "text"
|
|
}
|
|
]
|
|
},
|
|
"url_pattern": "*://www.officedepot.com/*",
|
|
"_license": "MIT",
|
|
"_copyright": "Copyright (c) 2026 Rug Munch Media LLC"
|
|
} |