3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-04 18:38:47 +02:00
pbot/modules/gspy.pl

19 lines
293 B
Perl
Raw Normal View History

2007-05-20 22:44:44 +02:00
#!/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, ";
}