mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 11:42:24 +08:00
Reapply "fix(v1/crawl): always use sitemap"
This reverts commit 339b19ce9d
.
This commit is contained in:
parent
339b19ce9d
commit
445fc432e9
|
@ -85,9 +85,7 @@ export async function crawlController(
|
|||
|
||||
await saveCrawl(id, sc);
|
||||
|
||||
const sitemap = sc.crawlerOptions.ignoreSitemap
|
||||
? null
|
||||
: await crawler.tryGetSitemap();
|
||||
const sitemap = await crawler.tryGetSitemap();
|
||||
|
||||
if (sitemap !== null && sitemap.length > 0) {
|
||||
let jobPriority = 20;
|
||||
|
|
Loading…
Reference in New Issue
Block a user