r at '$uri'";
return;
}
my $json = $res->decoded_content();
# Build up response
my @uris;
while (
$json =~ m{
"page_url" \s*:\s*
e ($json =~ m{ )
@uris = reverse sort @uris;
# Prepare for next iteration
($year, $month) = (); # exhausted by default
if (@uris
&& (my ($previous) = $json =~