Fixed comment field not updated. Refactored Nubiles scraper.

This commit is contained in:
DebaucheryLibrarian
2025-10-06 03:26:17 +02:00
parent e13c8ccfe0
commit 19c892ab13
7 changed files with 217 additions and 88 deletions

View File

@@ -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,
});