Skip to content

Interface: SearchOptions ​

Search options supported by the parser

Table of contents ​

Properties ​

Properties ​

baseUrl ​

• baseUrl: string

Base url of the service by default google.com/search

Defined in ​

google-sr/src/constants.ts:127


filterResults ​

• filterResults: ResultTypes[]

Filter the types of results returned (may have performance impact)

Defined in ​

google-sr/src/constants.ts:135


page ​

• page: number

Page number to fetch. Google page numbers are different that what you might expect we suggest you to use searchWithPages instead

Defined in ​

google-sr/src/constants.ts:123


query ​

• query: string

Search query

Defined in ​

google-sr/src/constants.ts:131


requestConfig ​

• requestConfig: AxiosRequestConfig<any>

raw config for axios

Defined in ​

google-sr/src/constants.ts:114


safeMode ​

• safeMode: boolean

Toggle to enable google safe mode

Defined in ​

google-sr/src/constants.ts:118


selectors ​

• selectors: __module

jquery selectors (cheerio) to extract data from scraped data

Defined in ​

google-sr/src/constants.ts:139