Skip to content

necromancerthedark/sanfoundry-scraper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sanfoundry-scraper

Extracts all MCQs of a subject that you input the link of.

run the main.py file after getting the code using the Download zip button or following this link.

just run main.py using the following command

python main.py

Input the URL of the Subject (for example, "https://www.sanfoundry.com/1000-object-oriented-programming-oops-questions-answers/") and run it to get a file in a folder named Saved_MCQs of all the MCQs of the subject.

run the following command if you are using the program for the first time.

pip install bs4 requests lxml

to install requirements

LOG: This is getting traction hehe so gonna make it better to use and better at output

  1. PDF Output instead of HTML or maybe optional idk
  2. setup script so that installable from pip
  3. good docs 💀
  4. plain text output format with just questions and answers in txt. easier to "study" xD.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%