File tree Expand file tree Collapse file tree
packages/actor-scraper/sitemap-scraper/src/internals Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -217,7 +217,9 @@ export class CrawlerSetup {
217217 }
218218 }
219219
220- private async _discoverSitemaps ( startUrls : string [ ] ) {
220+ private async _discoverSitemaps (
221+ startUrls : string [ ] ,
222+ ) : Promise < SitemapDiscoveryResult > {
221223 const discoveryProxyUrl = await this . proxyConfiguration ?. newUrl ( ) ;
222224 const proxyAttempt = await this . _discoverSitemapsWithTimeout (
223225 startUrls ,
@@ -234,7 +236,7 @@ export class CrawlerSetup {
234236 return {
235237 ...proxyAttempt ,
236238 disableProxyForRun : false ,
237- } satisfies SitemapDiscoveryResult ;
239+ } ;
238240 }
239241
240242 log . warning (
@@ -249,7 +251,7 @@ export class CrawlerSetup {
249251 noProxyAttempt . discovered &&
250252 noProxyAttempt . discovered . length > 0 ,
251253 ) ,
252- } satisfies SitemapDiscoveryResult ;
254+ } ;
253255 }
254256
255257 private async _initializeAsync ( ) {
You can’t perform that action at this time.
0 commit comments