Skip to content

jitu1612/webscrape-gbn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);
  }
})

License

MIT

About

A simple web scraping npm for websites like BigBasket, Grofers and Natures Basket

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published