diff --git a/apps/api/src/scraper/WebScraper/custom/handleCustomScraping.ts b/apps/api/src/scraper/WebScraper/custom/handleCustomScraping.ts index 5f6c34f..1301757 100644 --- a/apps/api/src/scraper/WebScraper/custom/handleCustomScraping.ts +++ b/apps/api/src/scraper/WebScraper/custom/handleCustomScraping.ts @@ -1,7 +1,9 @@ +import { fetchAndProcessPdf } from "../utils/pdfProcessor"; + export async function handleCustomScraping( text: string, url: string -): Promise<{ scraper: string; url: string; wait_after_load: number } | null> { +): Promise<{ scraper: string; url: string; wait_after_load?: number } | null> { // Check for Readme Docs special case if (text.includes('