Config

Config

new Config()

Source:

Methods

getCookies(configuration)

Returns a list of headers that will be forwarded to the ScrapingBee API
Parameters:
Name Type Description
configuration Object
Source:

getHeaders(configuration)

Returns a list of headers that will be forwarded to the ScrapingBee API
Parameters:
Name Type Description
configuration Object
Source:

getParams(configuration, url)

Returns a list of params that will be sent to the ScrapingBee API through the querystring
Parameters:
Name Type Description
configuration Object
url String
Source:

init(apiKey, userConfiguration)

Initializes and injects the configuration into the module instance
Parameters:
Name Type Description
apiKey String
userConfiguration Object
Source: