Web scraper example with Crawlee, Playwright and headless Chrome. Playwright is more modern, user-friendly and harder to block than Puppeteer.
brew install apify/tap/apify-cli
npm -g install apify-cli
apify create my-typescript-actor -t project_playwright_crawler_ts
cd my-typescript-actor
apify run
You will need to provide your Apify API Token to complete this action.
apify login
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
To learn more about Apify and Actors, take a look at the following resources: