Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Provider

Index

Properties

Optional defaultHeaders

defaultHeaders: IncomingHttpHeaders

The default headers for send request.

name

name: string

The name of provider

urls

urls: Url[]

The urls that was originally crawled

Methods

Optional beforeRequest

  • beforeRequest(config: AxiosRequestConfig): Promise<void>

Optional beforeStart

  • beforeStart(): Promise<void>

Optional beforeStartUrl

  • beforeStartUrl(startUrls: Url[]): Promise<Url[]>

parse

  • parse(response: Response): Promise<any[]>