Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 835 Bytes

File metadata and controls

37 lines (25 loc) · 835 Bytes

Testscrape

A simple web scraping project using Node.js to extract book information and save it to a JSON file.

Project Structure

  • scrape.js: The main script that performs web scraping.
  • books.json: The output file containing the scraped book data.
  • package.json: Contains metadata about the project and its dependencies.
  • package-lock.json: Records the exact versions of installed dependencies.
  • node_modules/: Directory containing installed Node.js modules.

Prerequisites

  • Node.js installed on your system.

Installation

  1. Clone the repository:

    git clone https://github.com/markhwinters/testscrape.git
    cd testscrape
    
  2. Install Dependencies:

    npm install

Usage

  1. Start the Server:
    node server.js