How do I do for Google to look for more than 10 results?
Because the program only ten return up to now.
The Code of the request is soon lower:
tbWeb:
FResultWeb:=GetGoogleSearchPort.doGoogleSearch(KEY_GOOGLE,FText,0,10,false,'',false,'','UTF-8','UTF-8');
Thank you.
Regards,
George.
no, don't work ! =/
Help me plz!!!
What George gave you
FResultWeb:=GetGoogleSearchPort.doGoogleSearch(KEY_GOOGLE,FText,11,10,false,'',false,'','UTF-8','UTF-8');
will return 10 results (result no. 12 to 21, start is zero based).
Your own call will return 10 results (no. 1 to 10).
So, what exactly is your problem?
Manfred
I need he give me back all possible results
and not only 10
ZueRa
You begin with start=0 and maxResults=10,
then (with pseudo-code):
A: get the response
process the response
if estimatedTotalResultsCount > endIndex
then (start=endindex; goto A)
finish
You migth also want to look at estimateIsExact and to
limit the total number of requests in processing the response.
Manfred