Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor (options = {}) {
this._options = _.defaults(options, defaultOptions)
this._request = Promise.promisifyAll(request.defaults(this._options.request))
RandomUserAgent.configure({ maxAge: 600000, preFetch: true })
}
constructor () {
this._options = _.defaultsDeep({}, defaultOptions)
RandomHttpUserAgent.configure(_.get(this._options, 'random-http-useragent'))
}
constructor (options = {}) {
this._options = _.defaultsDeep({}, options, defaultOptions)
this._perseverance = new Perseverance(_.get(this._options, 'perseverance'))
RandomHttpUserAgent.configure(_.get(this._options, 'random-http-useragent'))
}