puppeteer-extra icon indicating copy to clipboard operation
puppeteer-extra copied to clipboard

[Bug] DOCKER can access api behind cloudflare on mac and PC, but fails on Server

Open allaboutstrategy opened this issue 1 year ago • 1 comments

I use my lib to scrap a bit on kick.com https://github.com/allaboutstrategy/kick_live_ws/blob/master/src/fetch/userAPI.ts they have the api behind something like a cloudflare, I use puppetter + stealth. Was working for 3 month now on server and my PC. All in Docker, but not it stoped on the server but works on docker local Mac + PC.

Error [SyntaxError]: Unexpected token 'P', "

Please ena"... is not valid JSON

JSON.parse () at evaluate (evaluate at /src/node_modules/kick_live_ws/dist/fetch/userAPI.js:51:44, :3:39)

says javascript is not enabled?

Anybody know whats the problem?

allaboutstrategy avatar Oct 13 '23 23:10 allaboutstrategy

Looks like you do not have proxy, so I guess the problem is the IP

GiveDaData avatar Oct 14 '23 03:10 GiveDaData