mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-06 07:47:12 +08:00
Revert "fix(v1/crawl): always use sitemap"
This reverts commit 5dc0fcf644bfc64b2b30dd345b2a61b64a4c1262.
This commit is contained in:
parent
5dc0fcf644
commit
339b19ce9d
@ -85,7 +85,9 @@ export async function crawlController(
|
|||||||
|
|
||||||
await saveCrawl(id, sc);
|
await saveCrawl(id, sc);
|
||||||
|
|
||||||
const sitemap = await crawler.tryGetSitemap();
|
const sitemap = sc.crawlerOptions.ignoreSitemap
|
||||||
|
? null
|
||||||
|
: await crawler.tryGetSitemap();
|
||||||
|
|
||||||
if (sitemap !== null && sitemap.length > 0) {
|
if (sitemap !== null && sitemap.length > 0) {
|
||||||
let jobPriority = 20;
|
let jobPriority = 20;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user