Skip to content

Rishabh-Kumar-Bothra/Scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building a Scraper with Node

Scraping static site with axios and cheerio

Scraping dynamic site with puppeteer and cheerio

  • Axios: Promise-based HTTP client for Node.js and the browser
  • Cheerio: jQuery implementation for Node.js. Cheerio makes it easy to select, edit, and view DOM elements.
  • Puppeteer: A Node.js library for controlling Google Chrome or Chromium.

Prequisite

NodeJs version 8+ must be installed

Run npm install and paste the url you want to scrap in const url

For execting static scraper run node scraper.js and for executing dynamic scraper run node puppeteer.js from console

Releases

No releases published

Packages

No packages published