Apify and Crawlee Official Forum

Updated 4 months ago

Can we run crawlee in Vercel edge functions?

Hello,

Can we run crawlee in Vercel Edge functions? The interesting this with edge functions, besides the fact that it's cheaper, is that it doesn't have a maximum execution timeout as long you keep streaming back something to the client.

Followed the instructions here since I was getting the same puppeteer error: https://discord.com/channels/801163717915574323/1178072249362813009

It works fine in a "normal" serverless API routes but I get Error [ReferenceError]: crawlee is not defined when in edge functions.
Add a reply
Sign up and join the conversation on Discord