mirror of
https://github.com/clucraft/PriceGhost.git
synced 2026-04-27 09:46:26 +02:00
Add puppeteer-extra stealth plugin for Cloudflare bypass
The headless browser was being detected by Cloudflare and stuck on the "Just a moment..." challenge page. Added puppeteer-extra with the stealth plugin which patches browser fingerprinting to avoid bot detection. Also added logic to wait for Cloudflare challenges to complete. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
be1b2d9b6c
commit
9af18969f3
3 changed files with 516 additions and 12 deletions
|
|
@ -19,7 +19,9 @@
|
|||
"jsonwebtoken": "^9.0.2",
|
||||
"node-cron": "^3.0.3",
|
||||
"pg": "^8.11.3",
|
||||
"puppeteer": "^22.0.0"
|
||||
"puppeteer": "^22.0.0",
|
||||
"puppeteer-extra": "^3.3.6",
|
||||
"puppeteer-extra-plugin-stealth": "^2.11.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/bcrypt": "^5.0.2",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue