pryscraper/templates/google-maps-place.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

54 lines
No EOL
1.3 KiB
JSON

{
"name": "Google Maps Place",
"description": "Extract place details from Google Maps",
"site": "google.com/maps",
"category": "local",
"icon": "\ud83d\uddfa\ufe0f",
"schema": {
"name": "google_maps_place",
"base_selector": "body",
"fields": [
{
"name": "name",
"selector": "h1",
"type": "text"
},
{
"name": "rating",
"selector": "[aria-label*='stars']",
"type": "attribute",
"attribute": "aria-label"
},
{
"name": "total_ratings",
"selector": "[aria-label*='reviews']",
"type": "attribute",
"attribute": "aria-label"
},
{
"name": "address",
"selector": "[data-item-id='address']",
"type": "text"
},
{
"name": "phone",
"selector": "[data-item-id*='phone']",
"type": "text"
},
{
"name": "website",
"selector": "a[data-item-id*='authority']",
"type": "attribute",
"attribute": "href"
},
{
"name": "hours",
"selector": "[data-item-id*='oh']",
"type": "text"
}
]
},
"url_pattern": "*://www.google.com/maps/*",
"_license": "MIT",
"_copyright": "Copyright (c) 2026 Rug Munch Media LLC"
}