simonw / shot-scraper

A command-line utility for taking automated screenshots of websites
https://shot-scraper.datasette.io
Apache License 2.0
1.67k stars 73 forks source link

SDK or sample code to run scraper via a Worker? #100

Open amitkoth opened 1 year ago

amitkoth commented 1 year ago

I know you use Playwright here @simonw - but I noted this recently: https://blog.cloudflare.com/introducing-workers-browser-rendering-api/

If it's possible to use an alternative rendering engine and offload scraping to a CF Worker, that would be awesome.

Just parking here for your thoughts, and potentially if others are interested. Cloudflare should perhaps be told to use alternative rendering engines too :)