RandomBase.com logo
Announcement:
World of Warcraft Bots, need some help in choosing the best bot?

News Archives

Statistics

  • There are 13 users online.
  • Most users ever online was 424 on 03/16/08.
  • Our poor server had to serve 21 pages in the last 15 minutes.
  • And yet he managed to generate this page in 0.005 seconds.

Affiliates & friends

RandomBase.com isn't just one website - it is more.

Google Search tool in Perl

Posted on 2008-02-29 15:28:43 by Iron

I've made a quick tool to parse Google queries and return the url list. It supports only two (command line) options: -p to specify the amount of pages to parse and -o for output file. The tool is written in Perl and can be found here. Online version might be added.

iron@box~# perl google.pl -k lol query
en.wikipedia.org/wiki/LOL_(Internet_slang)
www.lol.com/
www.urbandictionary.com/define.php?term=lol
...



Comments

Dec:

Nice example of using LWP::UserAgent.

d:

e

agl:

why can't i download the songs that it lists? i've been looking for trusted by ben folds and I was excited when it turned up, but it just takes me back to the search page when I click it...

PC:

O.o the file name isn't as it seems... unless that's been done on purpose

Your name:

Your website: (optional)

Comment: