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
shubinstalled - Replace the project id (
project: <project-id>) in thescrapinghub.ymlfile with your own project id - Run
shub image uploadto build the image and push it to the registry - Run
shub schedule headersto 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.