Update types.ts
This commit is contained in:
@@ -322,6 +322,7 @@ export function legacyScrapeOptions(x: ScrapeOptions): PageOptions {
|
|||||||
removeTags: x.excludeTags,
|
removeTags: x.excludeTags,
|
||||||
onlyMainContent: x.onlyMainContent,
|
onlyMainContent: x.onlyMainContent,
|
||||||
waitFor: x.waitFor,
|
waitFor: x.waitFor,
|
||||||
|
headers: x.headers,
|
||||||
includeLinks: x.formats.includes("links"),
|
includeLinks: x.formats.includes("links"),
|
||||||
screenshot: x.formats.includes("screenshot"),
|
screenshot: x.formats.includes("screenshot"),
|
||||||
fullPageScreenshot: x.formats.includes("screenshot@fullPage"),
|
fullPageScreenshot: x.formats.includes("screenshot@fullPage"),
|
||||||
|
|||||||
Reference in New Issue
Block a user