Skip Menu |

This queue is for tickets about the Google-Search CPAN distribution.

Report information
The Basics
Id: 57601
Status: resolved
Priority: 0/
Queue: Google-Search

People
Owner: Nobody in particular
Requestors: ehaase [...] meshtec.de
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.025
Fixed in: (no value)



I try to get the search results of the keyword 'designhotel' from the german google index. due to the fact that this word has english grammer, google offers only SERP of the english google. I tried it this way: #!/usr/bin/perl -w use Google::Search; my $key = ###mykey###; my $referer = ###myreferer###; my $search = Google::Search->Web(q => "designhotel", key => $key, referer => $referer, hl => "de"); my $result = $search->first; while ($result) { print $result->number, " ", $result->uri, "\n"; $result = $result->next; } Google-Search-0.025 This is perl, v5.10.0 built for i486-linux-gnu-thread-multi Linux vbox 2.6.18.8-xenU #3 SMP Wed Aug 6 12:23:02 BST 2008 x86_64 GNU/Linux
Edward, I've tweaked the interface in 0.026 to deal with your scenario gracefully. The 'hl' parameter was basically being dropped before (and Google was assuming 'en') Thanks for the report, Rob