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