A simple web scraping project using Node.js to extract book information and save it to a JSON file.
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.
- Node.js installed on your system.
-
Clone the repository:
git clone https://github.com/markhwinters/testscrape.git cd testscrape
-
Install Dependencies:
npm install
- Start the Server:
node server.js