mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-12 07:19:03 +08:00
FIX IT
This commit is contained in:
parent
a06910115b
commit
edd4c30908
@ -272,7 +272,7 @@ export async function extractData({
|
||||
let smartscrapeResults: SmartScrapeResult[];
|
||||
if (isSingleUrl) {
|
||||
smartscrapeResults = [
|
||||
await smartScrape(urls[0], extract?.smartscrape_prompt, extractId),
|
||||
await smartScrape(urls[0], extract?.smartscrape_prompt, undefined, extractId),
|
||||
];
|
||||
smartScrapeCost += smartscrapeResults[0].tokenUsage;
|
||||
smartScrapeCallCount++;
|
||||
@ -284,6 +284,7 @@ export async function extractData({
|
||||
return await smartScrape(
|
||||
urls[page.page_index],
|
||||
page.smartscrape_prompt,
|
||||
undefined,
|
||||
extractId,
|
||||
);
|
||||
}),
|
||||
|
Loading…
x
Reference in New Issue
Block a user