Basic Web Scrapping Tool
Extracting Hacker News feeds and creating a CSV file
Objective
Learn how to scrape web using Javascript
How to?
- Clone the repository.
- Make sure you have Node and NPM installed in your system.
- Use
npm -v
andnode -v
to check if it's installed.
- Use
- In terminal change the directory to the repository and run
npm i
to install the required dependencies. - Final step: run
node index
in terminal. - You can see
post.csv
file that gets generated with the extracted data.