Running scrapy-playwright
on Zyte Scrapy Cloud.
A Dockerfile is provided to build a custom docker image. To keep the
resulting image small, only the chromium
browser is installed by default.
- Make sure you have
shub
installed - Replace the project id (
project: <project-id>
) in thescrapinghub.yml
file with your own project id - Run
shub image upload
to build the image and push it to the registry - Run
shub schedule headers
to schedule a job for the "headers" spider
For more information, check out the full documentation on how to build and deploy Docker images to Scrapy Cloud.