A web scraping API built using Node.js, Express.js, Axios, and Cheerio.js to extract climate change-related news articles from various sources.
/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.
- Node.js
- Express.js
- Axios
- Cheerio.js
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
.