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
Revert "feat(scrape): scroll down/up with actions if fullpagescreenshot"
Gergő Móricze1a34b0a9952
diff --git a/apps/api/src/scraper/WebScraper/single_url.ts b/apps/api/src/scraper/WebScraper/single_url.tsindex fc3a0efbc..93fb0ce73 100644--- a/apps/api/src/scraper/WebScraper/single_url.ts+++ b/apps/api/src/scraper/WebScraper/single_url.ts@@ -210,26 +210,10 @@ export async function scrapSingleUrl(type: "wait" as const,milliseconds: pageOptions.waitFor,}] : []),- ...(pageOptions.fullPageScreenshot ? [- {- type: "scroll" as const,- direction: "down" as const,- },- {- type: "wait" as const,- milliseconds: 300,- },- ] : []),...((pageOptions.screenshot || pageOptions.fullPageScreenshot) ? [{type: "screenshot" as const,fullPage: !!pageOptions.fullPageScreenshot,}] : []),- ...(pageOptions.fullPageScreenshot ? [- {- type: "scroll" as const,- direction: "up" as const,- }- ] : []),...(pageOptions.actions ?? []),],}) : ({