Skip Menu |

This queue is for tickets about the WWW-Yahoo-Groups CPAN distribution.

Report information
The Basics
Id: 3038
Status: resolved
Priority: 0/
Queue: WWW-Yahoo-Groups

People
Owner: spoon [...] cpan.org
Requestors: slinky [...] mac.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 1.84
Fixed in: 1.85



Subject: streamlining / adultconf
Hello Iain, thanks for including the new ad search! i realized after i sent the request, that the extra variable isn't necessary... 610,611c610 < my $curi = $w->uri(); < if ( $curi =~ m,/interrupt\?st,gsm ) --- Show quoted text
> if ( $w->uri() =~ m,/interrupt\?st,gsm )
also, the same method could be used in Groups/Mechanize.pm to detect a pass to /adultconf?... 49a50,68 Show quoted text
> if ( $self->uri() =~ m,/adultconf\?,gsm ) > { > $self->res->content =~ /dest value="(.*?)"/; > my $url = "http://groups.yahoo.com/adultconf?ref=&dest=$1&accept=I%20Accept"; > warn "Fetching $url (AGE VERIFICATION)\n" if $self->debug; > $rv = eval { > # Fetch page > my $rv = $self->SUPER::get($url); > # Throw if problem > X::WWW::Yahoo::Groups::BadFetch->throw(error => > "Unable to fetch $url: ". > $self->res->code.' - '.$self->res->message) > if ($self->res->is_error); > # Sleep for a bit > sleep ( $s ) if (my $s = $self->autosleep() ); > # Return something > 0; > }; > }
cheers, ray cielencki
[guest - Fri Jul 25 06:58:27 2003]: Show quoted text
> thanks for including the new ad search! i realized > after i sent the request, that the extra variable > isn't necessary...
Good point =) [...] Show quoted text
> also, the same method could be used in Groups/Mechanize.pm > to detect a pass to /adultconf?...
Kindof applied. Rewritten substantially, but the functionality is there =) I'll be doing a new release sometime in the next 24 hours. cheers, -- Iain.