conor-is-my-name/google-maps-scraper — reverse-engineered prompt
Reverse engineered prompt
Build me a small local API that scrapes Google Maps search results and is easy to call from n8n or a webhook. I want a simple health check on the root route, a POST route that takes JSON, and a GET route for easy automation with query string params. The main input should be a search like hotels in 98392, plus optional max places, language, headless mode, and concurrency so I can trade speed for less chance of getting rate limited.
When I call it, return a clean JSON list of places with the important details people actually need, like name, place id, coordinates, address, rating, review count, categories, website, phone, hours, thumbnail, and the Google Maps link. It should support different result languages and be reasonably resilient if Google changes small parts of the page. Please make it easy to run with Docker Compose, and also runnable locally for development. If there are known limits, like not being able to pull individual review text, just handle that honestly and document it. Look up current docs online if you need to.
Want more depth? Deep Reverse