WWW::Mechanize::AutoPager(3pm)

WWW::Mechanize::AutoPager3pm

Automatic pagination using autopagerize

Usage

  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
  }

Overview

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

Releases

7 releases since Debian 7 (Wheezy); the text changed 2 times.

  1. 7–10
  2. 11
  3. 12–13

Author

Tatsuhiko Miyagawa <[email protected]>

License

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

From libwww-mechanize-autopager-perl 0.02-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.