mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-05 17:00:44 +08:00
fix: converter missing
This commit is contained in:
parent
dc3a4e27fd
commit
1acef8e49b
@ -454,6 +454,7 @@ export function toLegacyCrawlerOptions(x: CrawlerOptions) {
|
||||
allowBackwardCrawling: x.allowBackwardLinks,
|
||||
allowExternalContentLinks: x.allowExternalLinks,
|
||||
ignoreSitemap: x.ignoreSitemap,
|
||||
deduplicateSimilarURLs: x.deduplicateSimilarURLs,
|
||||
};
|
||||
}
|
||||
|
||||
@ -467,7 +468,7 @@ export function fromLegacyCrawlerOptions(x: any): { crawlOptions: CrawlerOptions
|
||||
allowBackwardLinks: x.allowBackwardCrawling,
|
||||
allowExternalLinks: x.allowExternalContentLinks,
|
||||
ignoreSitemap: x.ignoreSitemap,
|
||||
// TODO: returnOnlyUrls support
|
||||
deduplicateSimilarURLs: x.deduplicateSimilarURLs,
|
||||
}),
|
||||
internalOptions: {
|
||||
v0CrawlOnlyUrls: x.returnOnlyUrls,
|
||||
|
Loading…
x
Reference in New Issue
Block a user