Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify Region in Preferences #22

Open
fjhadz1 opened this issue Mar 20, 2018 · 1 comment
Open

Specify Region in Preferences #22

fjhadz1 opened this issue Mar 20, 2018 · 1 comment

Comments

@fjhadz1
Copy link

fjhadz1 commented Mar 20, 2018

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?

@Athlon1600
Copy link
Owner

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.

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

No branches or pull requests

2 participants