devcakessupport
devcakessupport
CDCloudflare Developers
Created by devcakessupport on 4/24/2024 in #workers-help
Unable to access site using cloudflare/puppateer
I actually tried a pure nodeJs project (instead of wrangler) and it all worked as expected. It looks like the environment where workers are executed is treated as potentially unsafe. Not sure how that works behind the scenes (I assume some certificate or header might be involved, or purely an IP blacklist), but moving away from CF Workers fixes this issue, for anyone interested.
8 replies
CDCloudflare Developers
Created by devcakessupport on 4/24/2024 in #workers-help
Unable to access site using cloudflare/puppateer
I understand that, so there is no way to actually take screenshots of those sites that use some kind of bot protection, correct?
8 replies
CDCloudflare Developers
Created by devcakessupport on 4/24/2024 in #workers-help
Unable to access site using cloudflare/puppateer
It looks like it, but the same system backfires and treats the puppateer instance within workers as a bot? Is there a way to bypass that?
8 replies