Skip to content

Latest commit

 

History

History
65 lines (40 loc) · 2.69 KB

README.md

File metadata and controls

65 lines (40 loc) · 2.69 KB

Empty TypeScript template

Start a new web scraping project quickly and easily in TypeScript (Node.js) with our empty project template. It provides a basic structure for the Actor with Apify SDK and allows you to easily add your own functionality.

Included features

How it works

Insert your own code between await Actor.init() and await Actor.exit(). If you would like to use the Crawlee library simply uncomment its import import { CheerioCrawler } from 'crawlee';.

Resources

web scraper template

Getting started

For complete information see this article. To run the actor use the following command:

apify run

Deploy to Apify

Connect Git repository to Apify

If you've created a Git repository for the project, you can easily connect to Apify:

  1. Go to Actor creation page
  2. Click on Link Git Repository button

Push project on your local machine to Apify

You can also deploy the project on your local machine to Apify without the need for the Git repository.

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

    apify login
  2. 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: