Skip to main content
Version: Next

ExtractLinksOptions

Options shared by the extractLinks() context helper across crawler types.

Index

Properties

Properties

optionalbaseUrl

baseUrl?: string

A base URL that will be used to resolve relative URLs when using Cheerio. Ignored when using Puppeteer, since the relative URL resolution is done inside the browser automatically.

optionalselector

selector?: string

A CSS selector matching links to be extracted.

Page Options