Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PERL

perl mechanize infinite scroll with attempt count

while( $mech->infinite_scroll ) {
    # Tests for exiting the loop earlier
    last if $count++ >= 10;
}
Source by metacpan.org #
 
PREVIOUS NEXT
Tagged: #perl #mechanize #infinite #scroll #attempt #count
ADD COMMENT
Topic
Name
7+5 =