Skip to content

Commit b71a606

Browse files
committed
improve the Apify paragraph
1 parent 5d5ac66 commit b71a606

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@ sources/academy/**/exercises/storage
3030
sources/academy/**/exercises/node_modules
3131
sources/academy/**/exercises/package*.json
3232
sources/academy/**/exercises/dataset.json
33+
config.bat

babel.config.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sources/academy/platform/scraping_with_apify_and_ai/01_creating_actor.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ Some are technical challenges:
3232
- _No monitoring:_ Even if we knew how to set up a server or home installation so our scraper runs regularly, we'd have little insight into whether it ran successfully, what errors or warnings occurred, how long it took, or what resources it used.
3333
- _Anti-scraping risks:_ If the target website detects our scraper, they can rate-limit or block us. Sure, we could run it from a coffee shop's Wi-Fi, but eventually they'd block that too, and we'd seriously annoy our barista.
3434

35-
<!-- TODO START rewrite this paragraph, it's really bad -->
36-
To address all of this, we'll use [Apify](https://apify.com/), where we can deploy any program as long as it's structured as an Actor. We'll thank ourselves later if we start as an Actor from the beginning.
37-
<!-- TODO END rewrite this paragraph, it's really bad -->
35+
To overcome these limitations, we'll use [Apify](https://apify.com/), a platform where our scraper can run independently of our computer. Apify expects our code to be structured as an Actor, so the setup is a bit heavier at first. But it pays off quickly - once we're ready, deploying to the platform is almost just one command.
3836

3937
First, we'll use a few commands to set up an Actor template, and then we'll prompt ChatGPT to generate the code for scraping that Sales page.
4038

0 commit comments

Comments
 (0)