Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 916 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 916 Bytes

scrapy-playwright sample project for Scrapy Cloud

Running scrapy-playwright on Zyte Scrapy Cloud.

Dockerfile

A Dockerfile is provided to build a custom docker image. To keep the resulting image small, only the chromium browser is installed by default.

Build and deploy

  • Make sure you have shub installed
  • Replace the project id (project: <project-id>) in the scrapinghub.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.