Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
TypeScript aiai-agentsai-crawlerai-scrapingai-searchcrawlerdata-extractionhtml-to-markdownllmmarkdownscraperscrapingweb-crawlerweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
fix(scrape): remove scrape job from queue after the job is done
Gergo Moricz5f2af3788006
diff --git a/apps/api/src/controllers/scrape.ts b/apps/api/src/controllers/scrape.tsindex d13a9201a..75081dc22 100644--- a/apps/api/src/controllers/scrape.ts+++ b/apps/api/src/controllers/scrape.ts@@ -62,6 +62,8 @@ export async function scrapeHelper(}}+ await job.remove();+if (!doc) {console.error("!!! PANIC DOC IS", doc, job);return { success: true, error: "No page found", returnCode: 200, data: doc };