Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ondiekelijah/web-scraping-with-node.js-guide

Node.js Web Scraping Guide repository
https://github.com/ondiekelijah/web-scraping-with-node.js-guide

cheerio puppeteer

Last synced: about 1 month ago
JSON representation

Node.js Web Scraping Guide repository

Awesome Lists containing this project

README

        

# Node.js Web Scraping Guide

This project contains a complete solution for web scraping using Node.js.

## Installation

Clone the repository:

```bash
git clone https://github.com/ondiekelijah/Web-Scraping-with-Node.js-Guide.git
```

Navigate to the project directory:

```bash
cd Web-Scraping-with-Node.js-Guide
```

Install the necessary dependencies:

```bash
npm install
```

# Running Scraping Tasks

You can run the different scraping tasks using Node.js. Below are the commands for each script:

1. Make HTTP Request

`node src/makeHttpRequest.js`

2. Scrape Static HTML

`node src/scrapeStaticHtml.js`

3. Scrape Dynamic HTML

`node src/scrapeDynamicHtml.js`

4. Scrape with Proxy

`node src/scrapeWithProxy.js`