Fixed comment field not updated. Refactored Nubiles scraper.
This commit is contained in:
@@ -175,7 +175,7 @@ async function getBrowserSession(identifier, options = {}) {
|
||||
const newBrowser = await puppeteer.launch({
|
||||
headless: typeof options.headless === 'undefined' ? 'new' : options.headless,
|
||||
args: [
|
||||
...(options.useProxy ? [`--proxy-server=${config.proxy.host}:${config.proxy.port}`] : []),
|
||||
...(options.useProxy && config.proxy.enabled ? [`--proxy-server=${config.proxy.host}:${config.proxy.port}`] : []),
|
||||
],
|
||||
// headless: false,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user