mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-18 01:49:53 +01:00
19 lines
293 B
Perl
Executable File
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, ";
|
|
}
|