mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-05 20:56:07 +08:00
Nick:
This commit is contained in:
parent
f43d5e7895
commit
52198f2991
@ -92,8 +92,6 @@ export async function scrapeHelper(
|
|||||||
|
|
||||||
// let j1 = typeof j[1] === "string" ? JSON.parse(j[1]) : j[1];
|
// let j1 = typeof j[1] === "string" ? JSON.parse(j[1]) : j[1];
|
||||||
|
|
||||||
console.log("JOB RESULT", jobResult);
|
|
||||||
|
|
||||||
const doc = jobResult !== null ? jobResult[0] : (await supabase_service
|
const doc = jobResult !== null ? jobResult[0] : (await supabase_service
|
||||||
.from("firecrawl_jobs")
|
.from("firecrawl_jobs")
|
||||||
.select("docs")
|
.select("docs")
|
||||||
|
@ -117,8 +117,6 @@ async function processJob(job: Job, token: string) {
|
|||||||
Logger.debug(`🐂 Worker taking job ${job.id}`);
|
Logger.debug(`🐂 Worker taking job ${job.id}`);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
console.log("🐂 Updating progress");
|
|
||||||
console.log({ job });
|
|
||||||
job.updateProgress({
|
job.updateProgress({
|
||||||
current: 1,
|
current: 1,
|
||||||
total: 100,
|
total: 100,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user