Skip to content

Spoof Google Search Location (Good for SEO testing and bots)

Notifications You must be signed in to change notification settings

brendanmanning/spoofysearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Motivation

Automatically test Google queries pretending to be from any location. Helpful for webscraping, SEO testing, etc.

Installing

npm install --save spoofysearch

Usage

SpoofySearch returns the URL used to perform a search as if you were in the location.

You will have to make the actual HTTP request yourself

url = spoofysearch.query_string("live music", "Asheville, North Carolina") 
// url = https://www.google.com/search?q=live%20music&uule=w+CAIQICIZQXNoZXZpbGxlLCBOb3J0aCBDYXJvbGluYQ

About

Spoof Google Search Location (Good for SEO testing and bots)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published