Example Code Runner (Cheerio) avatar
Example Code Runner (Cheerio)
Try for free

No credit card required

View all Actors
Example Code Runner (Cheerio)

Example Code Runner (Cheerio)

Try for free

No credit card required

Generic Actor to run code examples from the documentation via "Run on Apify" links.

Crawlee & Cheerio template

Web scraper example with Crawlee, Playwright and headless Chrome. Playwright is more modern, user-friendly and harder to block than Puppeteer.

Getting Started

Install Apify CLI

Using Homebrew

brew install apify/tap/apify-cli

Using NPM

npm -g install apify-cli

Create a new Actor using this template

apify create my-typescript-actor -t project_playwright_crawler_ts

Run the Actor locally

1cd my-typescript-actor
2apify run

Deploy on Apify

Log in to Apify

You will need to provide your Apify API Token to complete this action.

apify login

Deploy your Actor

This command will deploy and build the Actor on the Apify Platform. You can find your newly created Actor under Actors -> My Actors.

apify push

Documentation reference

To learn more about Apify and Actors, take a look at the following resources:

Maintained by Apify
Actor metrics
  • 48 monthly users
  • 94.6% runs succeeded
  • days response time
  • Created in Sep 2023
  • Modified 21 days ago