NAME
WWW::Google::Groups - Google Groups Agent
SYNOPSIS
use WWW::Google::Groups;
$agent = new WWW::Google::Groups
(
server => 'groups.google.com',
proxy => 'my.proxy.server:port',
);
$group = $agent->select_group('comp.lang.perl.misc');
while( $thread = $group->next_thread() ){
while( $article = $thread->next_article() ){
# the returned $article is an Email::Simple object
# See Email::Simple for its methods
print join q/ /, $thread->title, '<'.$article->header('From').'>', $/;
}
}
DESCRIPTION
It is heard that the module (is/may be) violating Google's term of service. So use it at your risk. It is written for crawling back the whole histories of several newsgroups, for my personal interests. Since many NNTP servers do not have huge and complete collections, Google becomes my final solution. However, the www interface of google groups cannot satisfy me well, kind of a keyboard/console interface addict and I would like some sort of perl api. That's why I design this module. And hope Google will not notify me of any concern on this evil.
COPYRIGHT
xern <xern@cpan.org>
This module is free software; you can redistribute it or modify it under the same terms as Perl itself.