A
A
Alexey Alyushenko2016-04-06 01:27:05
Google
Alexey Alyushenko, 2016-04-06 01:27:05

How to get google results for a specific city?

Hello, how can I get a google search for a specific city?
How does it determine the current city? By Ip or by geo data? How can I change them so that google thinks I'm from another city?
Interested to use in Phantomjs + PHP
Thanks

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stanislav Tretyakov, 2016-04-06
@babulja

Google has a page that describes several examples of how you can change the location.
And there is this item:
So shove the name of the city in your request :). From personal experience of parsing Google's results in cities, although not so big, I can say that it works perfectly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question