Free, open-source Google Maps scraper for lead generation (Python, no API key, no Docker). Exports name, phone, email, website, rating and Instagram/Facebook/LinkedIn/TikTok/YouTube/X links to CSV. 100 places with emails in 44 s; --grid beats Google's 120 cap. MX email check, ad-pixel detection. Skill for Claude Code, Codex and Cursor.
Python agent-skillsb2b-leadsclaude-codeclaude-skillscodex-skillsemail-extractoremail-scrapergoogle-mapsgoogle-maps-extractorgoogle-maps-leadsgoogle-maps-scrapergoogle-maps-scraper-pythongoogle-maps-scrapinggooglemaps-scraperheadless-chromelead-generationlead-scraperno-api-keypythonweb-scraping
feat(ui): pick which sponsors the web UI shows ("ui": true), and allow the fetch in the engine's CSP
Mahanaicoach8ea47776caeb
diff --git a/assets/sponsors/sponsors.json b/assets/sponsors/sponsors.jsonindex e18c3ec..1a17077 100644--- a/assets/sponsors/sponsors.json+++ b/assets/sponsors/sponsors.json@@ -1,15 +1,17 @@{- "_comment": "Premium sponsors shown in the sponsor box of the kit's web UI. Edit this file and push: every installed copy's web UI reads it from GitHub in the browser (a static file, cached for a day, no tracking). Fields: name (shown as the link text), url (https only), tagline (one short line). Four at most are shown.",+ "_comment": "Premium sponsors. The web UI's sponsor box shows the ones with \"ui\": true, in this order, four at most; set \"ui\": false to keep a sponsor in the README only. Edit this file and push: every installed copy's web UI reads it from GitHub in the browser (a static file, cached for a day, no tracking). Fields: name (the link text), url (https only), tagline (one short line), ui (true or false).","sponsors": [{"name": "Swiftproxy","url": "https://www.swiftproxy.net/?ref=googlemapsscraperkit",- "tagline": "residential proxies for Google Maps scraping, code PROXY90 for 10% off"+ "tagline": "residential proxies for Google Maps scraping, code PROXY90 for 10% off",+ "ui": true},{"name": "SerpApi","url": "https://serpapi.com/maps-scraper-kit-github",- "tagline": "Google Maps API in JSON and Markdown"+ "tagline": "Google Maps API in JSON and Markdown",+ "ui": true}]}diff --git a/ui-branding.conf b/ui-branding.confindex ed7bf26..1d2cd5e 100644--- a/ui-branding.conf+++ b/ui-branding.conf@@ -25,6 +25,11 @@ server {proxy_set_header Host $http_host;proxy_set_header Accept-Encoding ""; # sub_filter cannot rewrite a gzipped body+ # The engine's own Content-Security-Policy, with one addition: connect-src also allows+ # raw.githubusercontent.com, where the sponsor script below reads sponsors.json.+ proxy_hide_header Content-Security-Policy;+ add_header Content-Security-Policy "default-src 'self'; script-src 'self' cdn.redoc.ly cdnjs.cloudflare.com 'unsafe-inline' 'unsafe-eval'; worker-src 'self' blob:; style-src 'self' 'unsafe-inline' fonts.googleapis.com cdnjs.cloudflare.com; img-src 'self' data: cdn.redoc.ly cdnjs.cloudflare.com *.tile.openstreetmap.org; font-src 'self' fonts.gstatic.com; connect-src 'self' raw.githubusercontent.com" always;+sub_filter_once off;sub_filter 'github.com/gosom/google-maps-scraper' 'github.com/Mahanaicoach/google-maps-scraper-kit';sub_filter 'github.com/sponsors/gosom' 'github.com/sponsors/Mahanaicoach';@@ -42,7 +47,7 @@ server {# pagination <div>. htmx parses a <tbody> reply inside a <table>, where that <div> breaks the# parse, so #job-tbody disappears and later swaps have no target. The script splits the <div># off before the swap and applies it itself. Remove this once the engine ships the fix.- # Second script: the sponsor box lists the kit's current premium sponsors from+ # Second script: the sponsor box lists the premium sponsors marked "ui": true in# assets/sponsors/sponsors.json on GitHub (a static file, fetched by the browser, cached a day,# no tracking). Names and taglines are set as text, never as HTML, and only https links are used.# Both scripts avoid double quotes and dollar signs, which this nginx string would mangle.@@ -67,11 +72,11 @@ document.addEventListener('htmx:beforeSwap', function (e) {var url = 'https://raw.githubusercontent.com/Mahanaicoach/google-maps-scraper-kit/master/assets/sponsors/sponsors.json';var key = 'gmskit-sponsors', day = 86400000;function render(list) {- if (!Array.isArray(list) || !list.length) return;+ if (!Array.isArray(list) || !list.some(function (s) { return s && s.ui === true; })) return;p.textContent = 'Sponsored by ';var shown = 0;- list.slice(0, 4).forEach(function (s) {- if (!s || typeof s.name !== 'string' || typeof s.url !== 'string' || s.url.indexOf('https://') !== 0) return;+ list.filter(function (s) { return s && s.ui === true; }).slice(0, 4).forEach(function (s) {+ if (typeof s.name !== 'string' || typeof s.url !== 'string' || s.url.indexOf('https://') !== 0) return;if (shown++) p.appendChild(document.createTextNode(' | '));var a = document.createElement('a');a.href = s.url; a.target = '_blank'; a.rel = 'noopener noreferrer sponsored';