mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 11:42:24 +08:00
Nick: scrape id when origin is website for report system
This commit is contained in:
parent
11971da359
commit
00dacaf935
|
@ -147,5 +147,6 @@ export async function scrapeController(
|
||||||
return res.status(200).json({
|
return res.status(200).json({
|
||||||
success: true,
|
success: true,
|
||||||
data: legacyDocumentConverter(doc),
|
data: legacyDocumentConverter(doc),
|
||||||
|
scrape_id: origin === "website" ? jobId : undefined,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -225,6 +225,7 @@ export type ScrapeResponse =
|
||||||
success: true;
|
success: true;
|
||||||
warning?: string;
|
warning?: string;
|
||||||
data: Document;
|
data: Document;
|
||||||
|
scrape_id?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export interface ScrapeResponseRequestTest {
|
export interface ScrapeResponseRequestTest {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user