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.
NodeJs version 8+ must be installed
For execting static scraper run node scraper.js
and for executing dynamic scraper run node puppeteer.js
from console