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
Fixed the regex test
rafaelsideguide5f69fc76771e
diff --git a/apps/api/src/scraper/WebScraper/custom/handleCustomScraping.ts b/apps/api/src/scraper/WebScraper/custom/handleCustomScraping.tsindex 081150be6..d78d81588 100644--- a/apps/api/src/scraper/WebScraper/custom/handleCustomScraping.ts+++ b/apps/api/src/scraper/WebScraper/custom/handleCustomScraping.ts@@ -32,7 +32,7 @@ export async function handleCustomScraping(// Check for Google Drive PDF links in the raw HTMLconst googleDrivePdfPattern =/https:\/\/drive\.google\.com\/file\/d\/([^\/]+)\/view/;- const googleDrivePdfLink = text.match(googleDrivePdfPattern);+ const googleDrivePdfLink = url.match(googleDrivePdfPattern);if (googleDrivePdfLink) {console.log(`Google Drive PDF link detected for ${url}: ${googleDrivePdfLink[0]}`