Update types.ts

This commit is contained in:
Nicolas 2024-09-08 16:39:12 -03:00
parent 84fb00ec3f
commit 60a15d00eb

View File

@ -322,6 +322,7 @@ export function legacyScrapeOptions(x: ScrapeOptions): PageOptions {
removeTags: x.excludeTags,
onlyMainContent: x.onlyMainContent,
waitFor: x.waitFor,
headers: x.headers,
includeLinks: x.formats.includes("links"),
screenshot: x.formats.includes("screenshot"),
fullPageScreenshot: x.formats.includes("screenshot@fullPage"),