3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-02 01:18:40 +02:00
pbot/modules/gspy.pl
Pragmatic Software 2c44e648fb Initial import
2007-05-20 20:44:44 +00:00

19 lines
293 B
Perl
Executable File

#!/usr/bin/perl -w
use strict;
use LWP::Simple;
my $html;
$html = get("http://www.metaspy.com/info.metac.spy/metaspy/unfiltered.htm");
defined $html or die "Oops, couldn't get the data.";
print "Recent search queries: ";
while($html =~ m/redir\.htm\?qkw\=(.*?)\"/g)
{
print "$1, ";
}