Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.