Athlon1600/SerpScraper

Specify Region in Preferences

fjhadz1 opened this issue · 1 comments

Hi, does the script can specify a region?
most of the time it auto detects base on IP but would it be possible to specify what region it is?

https://github.com/Athlon1600/SerpScraper#extracting-search-results-from-google

$google->setPreference('google_domain', 'google.co.uk');

would do searches from that Google domain only. Is this what you are looking for?
Otherwise, to perfectly mimic searches from a particular region, you would need SerpScraper to use proxy server that's located in that region.