Add puppeteer-extra stealth plugin to avoid headless browser detection

PDGA was blocking headless Chrome requests with ECONNRESET errors.
Using puppeteer-extra-plugin-stealth to mask headless browser
fingerprints (navigator.webdriver, chrome.runtime, plugins, etc).
This commit is contained in:
Samuel Enocsson
2026-02-19 09:00:08 +01:00
parent 7e5fa6cbf1
commit bd33ac2901
3 changed files with 507 additions and 31 deletions
+2
View File
@@ -12,6 +12,8 @@
"express": "^4.18.2",
"fs": "^0.0.1-security",
"puppeteer": "^21.0.0",
"puppeteer-extra": "^3.3.6",
"puppeteer-extra-plugin-stealth": "^2.11.2",
"sqlite3": "^5.1.7"
},
"devDependencies": {