Perl x Open Food Facts Hackathon: Paris, France - May 24-25 Learn more

NAME

WWW::Mechanize::AutoPager - Automatic Pagination using AutoPagerize

SYNOPSIS

my $mech = WWW::Mechanize->new;
$mech->autopager->load_siteinfo();
# Or, load manually
$mech->autopager->add_site(
url => 'http://.+\.tumblr\.com/',
nextLink => ...,
);
if (my $link = $mech->next_link) {
$mech->get($link);
$mech->page_element; # HTML snippet
}

DESCRIPTION

WWW::Mechanize::AutoPager is a plugin for WWW::Mechanize to do automatic pagination using AutoPagerize user script.

THIS MODULE IS CONSIDERED EXPERIMENTAL AND ITS API WILL BE LIKELY TO CHANGE

AUTHOR

Tatsuhiko Miyagawa <miyagawa@bulknews.net>

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

HTML::AutoPagerize, http://swdyh.infogami.com/autopagerize