Skip to content

Commit

Permalink
Making possible to add Crawl Observers (#560)
Browse files Browse the repository at this point in the history
  • Loading branch information
noith authored Jan 27, 2025
1 parent afc21d7 commit 9423e3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SitemapGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public function getSitemap(): Sitemap

$this->crawler
->setCrawlProfile($this->getCrawlProfile())
->setCrawlObserver($this->getCrawlObserver())
->addCrawlObserver($this->getCrawlObserver())
->setConcurrency($this->concurrency)
->startCrawling($this->urlToBeCrawled);

Expand Down

0 comments on commit 9423e3b

Please sign in to comment.