Skip to content

Commit

Permalink
fix for broken parseRecursive when one of sitemaps does not exists (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
jszczypk authored Oct 20, 2021
1 parent 3f9436e commit f05d007
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/SitemapParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ public function parseRecursive($url)
$this->parse($todo[0]);
} catch (Exceptions\TransferException $e) {
// Keep crawling
continue;
}
$this->sitemaps = array_merge_recursive($sitemaps, $this->sitemaps);
$this->urls = array_merge_recursive($urls, $this->urls);
Expand Down

0 comments on commit f05d007

Please sign in to comment.