mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 11:42:24 +08:00
Merge branch 'main' into nsc/pay-as-you-go-lw2
This commit is contained in:
commit
4590577cba
|
@ -499,7 +499,7 @@ async function processJob(job: Job, token: string) {
|
||||||
time_taken: (Date.now() - sc.createdAt) / 1000,
|
time_taken: (Date.now() - sc.createdAt) / 1000,
|
||||||
team_id: job.data.team_id,
|
team_id: job.data.team_id,
|
||||||
mode: job.data.crawlerOptions !== null ? "crawl" : "batch_scrape",
|
mode: job.data.crawlerOptions !== null ? "crawl" : "batch_scrape",
|
||||||
url: sc.originUrl,
|
url: sc?.originUrl ?? (job.data.crawlerOptions === null ? "Batch Scrape" : "Unknown"),
|
||||||
crawlerOptions: sc.crawlerOptions,
|
crawlerOptions: sc.crawlerOptions,
|
||||||
pageOptions: sc.pageOptions,
|
pageOptions: sc.pageOptions,
|
||||||
origin: job.data.origin,
|
origin: job.data.origin,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user