fdgdfg
This commit is contained in:
@@ -23,7 +23,7 @@ class SeleniumBrowser {
|
||||
.then(body => body.getAttribute('innerHTML'))
|
||||
let htmlPromise = this.isCaptchaPage(html) ? this.resolveCaptcha(driver) : this.getHtml(driver, html, params)
|
||||
html = await htmlPromise
|
||||
this.pool.destroy(driver)
|
||||
this.pool.release(driver)
|
||||
return html
|
||||
})
|
||||
} else {
|
||||
|
||||
@@ -7,7 +7,7 @@ const logger = require("logops")
|
||||
class PoolingService {
|
||||
constructor() {
|
||||
this.config = {
|
||||
pool: { max: 10, min: 1, testOnBorrow: true },
|
||||
pool: { max: 20, min: 1, testOnBorrow: true },
|
||||
browser: 'chrome',
|
||||
browserArgs: ['--no-sandbox', '--headless', '--disable-dev-shm-usage', '--proxy-server=spiduler-tor:8118']
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user