mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-06 01:56:09 +08:00
Update crawl.ts
This commit is contained in:
parent
258c67ce67
commit
96245e387d
@ -85,7 +85,9 @@ export async function crawlController(
|
||||
|
||||
await saveCrawl(id, sc);
|
||||
|
||||
const sitemap = await crawler.tryGetSitemap();
|
||||
const sitemap = sc.crawlerOptions.ignoreSitemap
|
||||
? null
|
||||
: await crawler.tryGetSitemap();
|
||||
|
||||
if (sitemap !== null && sitemap.length > 0) {
|
||||
let jobPriority = 20;
|
||||
|
Loading…
x
Reference in New Issue
Block a user