Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jonathanlinat/simple-nodejs-amazon-web-scraper
A very simple and automated tool to scrape Amazon.com results
https://github.com/jonathanlinat/simple-nodejs-amazon-web-scraper
amazon cheerio nodejs puppeteer web-scraper
Last synced: 29 days ago
JSON representation
A very simple and automated tool to scrape Amazon.com results
- Host: GitHub
- URL: https://github.com/jonathanlinat/simple-nodejs-amazon-web-scraper
- Owner: jonathanlinat
- License: mit
- Created: 2021-08-31T19:33:18.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-09-20T03:11:41.000Z (over 1 year ago)
- Last Synced: 2024-11-14T13:29:15.666Z (3 months ago)
- Topics: amazon, cheerio, nodejs, puppeteer, web-scraper
- Language: JavaScript
- Homepage:
- Size: 2.16 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple Node.js Amazon Web Scraper
This is a really simplistic Node.js example that teach you how to scrape data from Amazon.
_Original unlisted Globant Webinar: https://www.youtube.com/watch?v=Hqn8JPEOqb8_
## Details
This project uses Cheerio and Puppeteer libraries.
### Prerequisites
- Node 18
- pnpm 7## First steps
Clone locally the repository.
```
cd
git clone [email protected]:jonathanlinat/simple-nodejs-amazon-web-scraper.git
```Install the dependencies.
```
cd simple-nodejs-amazon-web-scraper/
pnpm install
```### Specific commands
Run the script.
```bash
pnpm run scrape
```Scraped data will be returned as an array of objects and displayed as Terminal message.