web_scrap
v1.0.5
Published
- Using this package you can scrap the specific data of a website. example- urls,images,text,title etc.
Downloads
2
Readme
web_scrap:
- Using this package you can scrap the specific data of a website. example- urls,images,text,title etc.
Installation:
npm i web_scrap
Code example:
let scrap = require('web_scrap'); scrap.links("https://github.com/Surajchandraa/Web-scraper-API",(error,result)=>{ console.log(result); })
functions provided:
let scrap = require('web_scrap');
scrap.links(url,callback) // for links
scrap.paragraph(url,callback) //for paragraphs
scrap.title(url,callback) //for title
scrap.images(url,callback) //extracts the src of images
scrap.description(url,callback)
scrap.keywords(url,callback)
scrap.social_media(url,callback) // using social_media function you can extract social media links of a website