From f05d00702304e35859ea524553a3229f27c00476 Mon Sep 17 00:00:00 2001 From: jszczypk Date: Wed, 20 Oct 2021 17:06:45 +0200 Subject: [PATCH] fix for broken parseRecursive when one of sitemaps does not exists (#15) --- src/SitemapParser.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/SitemapParser.php b/src/SitemapParser.php index 9dd3cb7..dffaa3e 100644 --- a/src/SitemapParser.php +++ b/src/SitemapParser.php @@ -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);