how to convert puppeteer.HTTPResponse to cloudflare Response
I am trying to convert a puppeteer.HTTPResponse into a cloudflare response. Before I moved to cloudflare workers, I was able to do this with the following code. However, currently with cloudflare I get the following error:
ReferenceError: Buffer is not defined
Code that previously worked:
2 Replies
You could try something like this: https://discord.com/channels/595317990191398933/1110268932788588624/1230632394646753320
Thank you so much! This worked. Do you have any tips on using puppeteer-extra and stealth?