webscrape-gbn
v1.0.14
Published
A simple web scraping module. Supported websites for web scraping are BigBasket, Grofers and Natures Basket.
Downloads
4
Maintainers
Readme
webscrape-gbn
Description
A simple web scraping module. Supported websites for web scraping are BigBasket, Grofers and Natures Basket.
Command to run this npm
node app.js -u Your-URL-String OR -url Your-URL-String
eg:-
node app.js -u https://grofers.com/prn/maggi-masala-noodles/prid/169812
Install this NPM
npm i webscrape-gbn --save
Usage
You just have to pass url of product page of supported websites.
You will get response in JSON format.
var scrape = require('webscrape-gbn');
scrape.webscrape('https://grofers.com/prn/maggi-masala-noodles/prid/169812',function(err,data){
if(err){
console.log(err);
}else{
console.log(data);
}
})