diff --git a/apps/api/src/scraper/WebScraper/single_url.ts b/apps/api/src/scraper/WebScraper/single_url.ts index 188a454..41d4274 100644 --- a/apps/api/src/scraper/WebScraper/single_url.ts +++ b/apps/api/src/scraper/WebScraper/single_url.ts @@ -337,8 +337,10 @@ export async function scrapSingleUrl( switch (customScraperResult.scraper) { case "fire-engine": customScrapedContent = await scrapWithFireEngine(customScraperResult.url, customScraperResult.waitAfterLoad, false, customScraperResult.pageOptions) + break; case "pdf": customScrapedContent = { html: await fetchAndProcessPdf(customScraperResult.url), screenshot } + break; } }