Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to run googly.pl in unix  RSS feed

 
ki wi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have problem in getting the google result when I typed in a query using perl in Unix. Example:-

$ perl googly.pl
Usage: perl googly.pl <query>
% perl googly "learning perl"

xml declaration not at start of external entity at line 1, column 2, byte 2 at /usr/lib/perl5/XML/Parser.pm line 187

What is the meaning of that error message?
How to solve this problem?
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch

Please check your private messages.
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
googly.pl originated from the second edition of Google Hacks (Hack #92).

In the meantime Google has stopped issuing API keys for the SOAP Search API which probably means that they intend decommission it.

Do you have a valid API key to the Google SOAP search API?

It looks like the SOAP search API has been replaced by the Google AJAX Search API.

See: Google Search API, parsing Results
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!