Date: | Wed, 14 May 2003 03:30:00 -0400 |
From: | ray c <slinky [...] mac.com> |
To: | spoon [...] cpan.org |
Subject: | WWW::Yahoo::Groups mod |
hey man,
great mod! in playing with it, i found that some of the groups i'm subscribed to are "age-restricted". to get around this i added a couple of lines:
if ($content =~ /\QYou've reached an Age-Restricted Area of Yahoo! Groups.\E/gsmi)
{
$w->get( "http://groups.yahoo.com/adultconf?ref=&dest=%2Fgroup%2F$list%2Fmessages&accept=I%20Accept" );
$content = $w->{res}->content;
}
also, i've spotted a couple of groups that don't actually start with message 1. to pull from them, i duplicated the last_msg_id and turned it into a first_msg_id, requesting /groups/$list/messages/1.
thanks for the hard work!
ray