Actions9
- City Actions
- Viewport Actions
- Scrape (Full Pipeline) Actions
Viewport → Extract Prefetch URL
AI-generatedSummary
Extracts the Google Maps prefetch URL from HTML content.
Inputs
- htmlField — Field containing HTML content (defaults to 'html').
- query — Search query (e.g., restaurants) passed through for context.
Output shape
array of objects with fields: query (string), base_url (string|null), html_size (number), and optionally error (string).
base_url is the extracted Google Maps search URL if found; otherwise null and error indicates 'PREFETCH_URL_NOT_FOUND'. html_size is the length of the input HTML string.