chore: remove puppeteer CF bypass (not working for Leet/Hubbly/Habblet)
Cloudflare has strengthened protection on these hotels. Puppeteer-based bypass returns HTML instead of JSON. cloudscraper has dependency issues with Node.js v26. Reverted to simple HTTP fetch with clear error messages.
This commit is contained in:
1 parent
5c60ce364c
commit
b87c9a5b8d
4 files changed
+19
-741
No files matched your search
+1
-10
@@ -36,16 +36,7 @@ const securityHeaders = [
|
||||
const nextConfig: NextConfig = {
|
||||
deploymentId: resolveDeploymentId(),
|
||||
turbopack: {},
|
||||
serverExternalPackages: [
|
||||
"mariadb",
|
||||
"lzma",
|
||||
"sharp",
|
||||
"pino",
|
||||
"pino-pretty",
|
||||
"puppeteer",
|
||||
"puppeteer-extra",
|
||||
"puppeteer-extra-plugin-stealth",
|
||||
],
|
||||
serverExternalPackages: ["mariadb", "lzma", "sharp", "pino", "pino-pretty"],
|
||||
|
||||
// Enable React Compiler for automatic memoization
|
||||
reactCompiler: true,
|
||||
|
||||
Reference in new issue
Block a user