How to get ALL Google search results using PHP

Harry P

Well-known member
Registered
Joined
Feb 3, 2015
Messages
447
Points
28
I want to get all the results from google search for my query but when I try to find something like this

Code:
http://www.google.com/search?client=safari&rls=en&q=forum+web+hosting
I could not get more than 37 pages of results. I have already read about Google advanced search but couldn't understand it. It is possible to use PHP or any programming languages and get all the result pages?
 

kevinhng86

Member
Registered
Joined
Jan 12, 2017
Messages
58
Points
0
Hi harry, instead of using the above line try this one below. The most important on this url is the "start" field and the "filter" field. Filter set to zero will not omit any result. Google display ten result per page, therefore if you are on page 20 you want to start at result 190. The current page in this url is result page 42. Which contain result 410 to 420. Why is it like that? Because page one contain result 0 to 9.

Code:
http://www.google.com/search?rls=en&q=forum+web+hosting&start=410&filter=0
After I finished with my current writing project I might write an article to demonstrate how to query google engine. Nevertheless there is a small drawl back, machine run auto search can't click on google reCaptcha which show up once in a while when you over search.
 
Newer Threads
Replies
1
Views
2,264
Replies
13
Views
10,040
Replies
7
Views
5,535
Replies
34
Views
14,565
Latest Threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top