Skip to content

Commit 6489447

Browse files
committed
Initial commit
0 parents  commit 6489447

File tree

1 file changed

+64
-0
lines changed

1 file changed

+64
-0
lines changed

README.md

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
## PlaywrightCrawler template
2+
3+
This template is a production ready boilerplate for developing an [Actor](https://apify.com/actors) with `PlaywrightCrawler`. Use this to bootstrap your projects using the most up-to-date code.
4+
5+
> We decided to split Apify SDK into two libraries, Crawlee and Apify SDK v3. Crawlee will retain all the crawling and scraping-related tools and will always strive to be the best [web scraping](https://apify.com/web-scraping) library for its community. At the same time, Apify SDK will continue to exist, but keep only the Apify-specific features related to building actors on the Apify platform. Read the upgrading guide to learn about the changes.
6+
>
7+
8+
## Resources
9+
10+
If you're looking for examples or want to learn more visit:
11+
12+
- [Crawlee + Apify Platform guide](https://crawlee.dev/docs/guides/apify-platform)
13+
- [Documentation](https://crawlee.dev/api/playwright-crawler/class/PlaywrightCrawler) and [examples](https://crawlee.dev/docs/examples/playwright-crawler)
14+
- [Node.js tutorials](https://docs.apify.com/academy/node-js) in Academy
15+
- [Scraping single-page applications with Playwright](https://blog.apify.com/scraping-single-page-applications-with-playwright/)
16+
- [How to scale Puppeteer and Playwright](https://blog.apify.com/how-to-scale-puppeteer-and-playwright/)
17+
- [Integration with Zapier](https://apify.com/integrations), Make, GitHub, Google Drive and other apps
18+
- [Video guide on getting scraped data using Apify API](https://www.youtube.com/watch?v=ViYYDHSBAKM)
19+
- A short guide on how to build web scrapers using code templates:
20+
21+
[web scraper template](https://www.youtube.com/watch?v=u-i-Korzf8w)
22+
23+
24+
## Getting started
25+
26+
For complete information [see this article](https://docs.apify.com/platform/actors/development#build-actor-locally). To run the actor use the following command:
27+
28+
```bash
29+
apify run
30+
```
31+
32+
## Deploy to Apify
33+
34+
### Connect Git repository to Apify
35+
36+
If you've created a Git repository for the project, you can easily connect to Apify:
37+
38+
1. Go to [Actor creation page](https://console.apify.com/actors/new)
39+
2. Click on **Link Git Repository** button
40+
41+
### Push project on your local machine to Apify
42+
43+
You can also deploy the project on your local machine to Apify without the need for the Git repository.
44+
45+
1. Log in to Apify. You will need to provide your [Apify API Token](https://console.apify.com/account/integrations) to complete this action.
46+
47+
```bash
48+
apify login
49+
```
50+
51+
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](https://console.apify.com/actors?tab=my).
52+
53+
```bash
54+
apify push
55+
```
56+
57+
## Documentation reference
58+
59+
To learn more about Apify and Actors, take a look at the following resources:
60+
61+
- [Apify SDK for JavaScript documentation](https://docs.apify.com/sdk/js)
62+
- [Apify SDK for Python documentation](https://docs.apify.com/sdk/python)
63+
- [Apify Platform documentation](https://docs.apify.com/platform)
64+
- [Join our developer community on Discord](https://discord.com/invite/jyEM2PRvMU)

0 commit comments

Comments
 (0)