Skip to content
Permalink
Browse files

Update scraper.php

  • Loading branch information
Uzlopak committed Nov 16, 2014
1 parent 86037fd commit 9987241ba36f5938c89c2b349c0db20faae05329
Showing with 1 addition and 1 deletion.
  1. +1 −1 scraper.php
@@ -25,7 +25,7 @@ function getHighestPageNumber ($htmlcode){
$pagepattern = '/page=(.*)">/miUs';
$result = 1;
$matches;
preg_match_all($pagepattern, $output, $matches);
preg_match_all($pagepattern, $htmlcode, $matches);

foreach ($matches as $value){
if ($value > $result) {

0 comments on commit 9987241

Please sign in to comment.
You can’t perform that action at this time.