Skip to content

Fix: Replace hardcoded User-Agent string with dynamic one#9

Open
SoClosee wants to merge 1 commit intomainfrom
gitpilot/GoogleMapScraper-fix-1772339682
Open

Fix: Replace hardcoded User-Agent string with dynamic one#9
SoClosee wants to merge 1 commit intomainfrom
gitpilot/GoogleMapScraper-fix-1772339682

Conversation

@SoClosee
Copy link
Contributor

@SoClosee SoClosee commented Mar 1, 2026

This PR replaces the hardcoded User-Agent string in the script with a dynamically generated one using the user_agent library. This improves security and avoids potential issues with Google blocking requests based on the User-Agent.

Automated by GitPilot — your friendly AI maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant