Squashed from chore/license-relicense. Full message preserved in the original branch commitbb77eb5. See ADR-0002 for the decision rationale. Refs: ADR-0002, commitbb77eb5
65 lines
No EOL
1.5 KiB
JSON
65 lines
No EOL
1.5 KiB
JSON
{
|
|
"name": "Walgreens Product",
|
|
"description": "Extract product details from Walgreens",
|
|
"site": "walgreens.com",
|
|
"category": "ecommerce",
|
|
"icon": "\ud83d\udc8a",
|
|
"schema": {
|
|
"name": "walgreens_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": "brand",
|
|
"selector": "[class*='brand']",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"name": "description",
|
|
"selector": "[class*='description']",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"name": "image_url",
|
|
"selector": "[class*='image'] img",
|
|
"type": "attribute",
|
|
"attribute": "src"
|
|
},
|
|
{
|
|
"name": "size",
|
|
"selector": "[class*='size']",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"name": "in_store",
|
|
"selector": "[class*='store']",
|
|
"type": "exists"
|
|
}
|
|
]
|
|
},
|
|
"url_pattern": "*://www.walgreens.com/*",
|
|
"_license": "MIT",
|
|
"_copyright": "Copyright (c) 2026 Rug Munch Media LLC"
|
|
} |