/Sanfoundry-Scraper

A simple Node.js command-line program designed to efficiently scrape an extensive collection of multiple choice questions from the popular website Sanfoundry, and convert them into a convenient PDF format or store them in a JSON file for easy access and organization.

Primary LanguageJavaScript

Sanfoundry-Scraper


NOTE

All mcqs are scraped perfectly except some with coding questions/options


Steps to run:

npm install

To scrap whole sanfoundry with mcqs

node mainScraper.js
  • The scrapers sleeps randomly, so stop the scraper and re-start it will resume

To download all pages from one subject

node subj-scraper-pdf.js

Change your link here