This project allows you to search for news articles based on a keyword you set in the script.
Follow these instructions to set up and run the project on your local machine.
Make sure you have Node.js installed on your machine. You can download and install it from here.
-
First, install all the dependencies by running:
npm install
-
Open the
searchNews.js
file in your preferred code editor. Find thesearchHere()
function and set your keyword for the search. For example:searchHere("Javascript")
-
After setting your keyword, you can run the script with the following command:
node searchNews.js