mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 11:42:24 +08:00
Update single_url.ts
This commit is contained in:
parent
c3aeed510b
commit
7c339ea125
|
@ -93,14 +93,14 @@ function getScrapingFallbackOrder(
|
|||
useFireEngine ? "fire-engine;chrome-cdp" : undefined,
|
||||
useScrapingBee ? "scrapingBee" : undefined,
|
||||
useScrapingBee ? "scrapingBeeLoad" : undefined,
|
||||
useDatabaseAuth ? undefined : "playwright",
|
||||
useFireEngine ? undefined : "playwright",
|
||||
"fetch",
|
||||
].filter(Boolean);
|
||||
|
||||
if (isWaitPresent || isScreenshotPresent || isHeadersPresent) {
|
||||
defaultOrder = [
|
||||
"fire-engine",
|
||||
useDatabaseAuth ? undefined : "playwright",
|
||||
useFireEngine ? undefined : "playwright",
|
||||
...defaultOrder.filter(
|
||||
(scraper) => scraper !== "fire-engine" && scraper !== "playwright"
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue
Block a user