Climate-Change Web Scraping API

A web scraping API built using Node.js, Express.js, Axios, and Cheerio.js to extract climate change-related news articles from various sources.

Endpoints

  • /news - Returns a list of climate change-related articles scraped from The Guardian website.
  • /newspaper - Returns a list of climate change-related articles scraped from multiple news sources.
  • /newspaper/:newsID - Returns a list of climate change-related articles from a specific news source.

Technologies and Frameworks Used

  • Node.js
  • Express.js
  • Axios
  • Cheerio.js

Usage

To use this API, clone the repository to your local machine and run the following commands:

$ cd climate-change-web-scraping-api
$ npm install
$ npm start

This will start the server on http://localhost:8001.