Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Mediashare committed Jan 27, 2020
1 parent 986bb5e commit 725ff48
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Crawler.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,10 @@ private function newUrls($scraper) {
}
endif;
if (!empty($requires)):
$crawl = false;
foreach ($requires as $require) {
if (\strpos((string) $link, $require) !== false):
$crawl = true;
else:
$crawl = false;
endif;
}
endif;
Expand Down

0 comments on commit 725ff48

Please sign in to comment.