Skip to content

Commit

Permalink
fix: tiny typo in ts-crawlee-cheerio readme (#296)
Browse files Browse the repository at this point in the history
  • Loading branch information
metalwarrior665 authored Oct 4, 2024
1 parent 512c5fe commit eab6702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/ts-crawlee-cheerio/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ A template example built with [Crawlee](https://crawlee.dev/) to scrape data fro

## How it works

This code is a TypeScript script that uses [Crawlee CheerioCralwer](https://crawlee.dev/api/cheerio-crawler/class/CheerioCrawler) framework to crawl a website and extract the data from the crawled URLs with Cheerio. It then stores the website titles in a dataset.
This code is a TypeScript script that uses [Crawlee CheerioCrawler](https://crawlee.dev/api/cheerio-crawler/class/CheerioCrawler) framework to crawl a website and extract the data from the crawled URLs with Cheerio. It then stores the website titles in a dataset.

- The crawler starts with URLs provided from the input `startUrls` field defined by the input schema. Number of scraped pages is limited by `maxPagesPerCrawl` field from input schema.
- The crawler uses `requestHandler` for each URL to extract the data from the page with the Cheerio library and to save the title and URL of each page to the dataset. It also logs out each result that is being saved.
Expand Down

0 comments on commit eab6702

Please sign in to comment.