passive-yellow•17mo ago
Deploying crawlee project to Apify
Hi everyone,
Precious here. New member of the Crawlee & Apify community.
I recently developed a scraper with crawlee, and it worked perfectly well, then I deployed it to Apify using the guide here: https://crawlee.dev/docs/introduction/deployment
Now when I run the actor in my local machine,
await crawler.run([request]);
does not run as it used to. I am using PlaywrightCrawler
and everything looks good just as I developed it. It seems converting the project to an actor changed it. Please how do I fix this?
Also, it does not leave any error messages.Running your crawler in the Cloud | Crawlee
Deploying Crawlee projects to the Apify Platform
1 Reply
you need to run actor by cli: "apify run -p" with "-p" to purge localhost storage, otherwise request will be processed at very first run and for other runs considered already done and not scraped again