WWW::M...toPager(3pm)
β¨ NAME β¨
okay so bestie, this page is the manual for WWW::Mechanize::AutoPager β the 3pm perl module page, in case you were wondering where the weird truncated WWW::M...toPager(3pm) thing came from at the top. it's giving "automatic pagination using AutoPagerize" and honestly? obsessed. π
π¦ SYNOPSIS π¦
here's the whole vibe, copy-paste ready, no cap:
use WWW::Mechanize::AutoPager;
my $mech = WWW::Mechanize->new;
# Load siteinfo from http://swdyh.infogami.com/autopagerize
$mech->autopager->load_siteinfo();
# Or, load manually
$mech->autopager->add_site(
url => 'http://.+\.tumblr\.com/',
nextLink => ...,
);
$mech->get('http://otsune.tumblr.com/');
if (my $link = $mech->next_link) {
$mech->get($link);
$mech->page_element; # HTML snippet
}
like, that's the whole plot. you load siteinfo, you get a page, you ask for the next link, you go. main character energy fr fr. πΈ
π DESCRIPTION π
WWW::Mechanize::AutoPager is a plugin for WWW::Mechanize that does automatic pagination using the AutoPagerize user script. it literally just keeps scrolling the vibe for you so you don't have to click "next" like some kind of Victorian orphan. π§
β οΈ ok but listen β THIS MODULE IS CONSIDERED EXPERIMENTAL AND ITS API WILL BE LIKELY TO CHANGE. read that again. the API is a work in progress, it's in its messy era, do not build your entire life on it. π
π 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. slay, open source, we love to see it. π«Ά
π SEE ALSO π
HTML::AutoPagerize- <http://swdyh.infogami.com/autopagerize>
and that's the whole page bestie!! this was perl v5.32.1, dated 2021-08-21, brought to you by the fine folks who write the User Contributed Perl Documentation β go forth and paginate automatically, periodt πβ¨
π¦ where this page comes from
- debian bookworm: libwww-mechanize-autopager-perl 0.02-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libwww-mechanize-autopager-perl 0.02-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libwww-mechanize-autopager-perl 0.02-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libwww-mechanize-autopager-perl 0.02-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libwww-mechanize-autopager-perl 0.02-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libwww-mechanize-autopager-perl 0.02-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms