In this article I am going to demonstrate how to web scrape using Javascript. You need to setup Node.js for the same.Using command line change your directory to the project folder and type ‘npm init’ to activate the Node.js environment.

npm init

Now install express,cheerio and axios dependencies using the following commands

npm install express axios

In your browser open any amazon web page .You will realize that the price of each item and its title are present in a unique html span with a id .

#web-scraping #nodejs #expressjs #javascript #amazon

Scraping using JavaScript
19.55 GEEK