Extract MCQs

Extract MCQs from the Popular Site https://www.sanfoundry.com

질문, 리뷰하거나, 이 스크립트를 신고하세요.
개발자
themrsami
일일 설치수
0
총 설치수
33
평점
0 0 0
버전
2.5
생성
2023-05-19
갱신
2024-02-26
라이선스
MIT
동작 사이트

▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▄▄░▄▄██░██░██░▄▄▄██░▄▀▄░██░▄▄▀██░▄▄▄░█░▄▄▀██░▄▀▄░█▄░▄
███░████░▄▄░██░▄▄▄██░█░█░██░▀▀▄██▄▄▄▀▀█░▀▀░██░█░█░██░█
███░████░██░██░▀▀▀██░███░██░██░██░▀▀▀░█░██░██░███░█▀░▀
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

This Tampermonkey script is designed to extract multiple choice questions (MCQs) from a Sanfoundry webpage and save them to an HTML file in a quiz format. The script only runs on Sanfoundry webpages that contain MCQs.

When the script is activated on a Sanfoundry webpage, it adds a big green “Extract MCQs” button to the top right side of the page. When the user clicks on this button, the script scrapes the MCQs from the page and generates an HTML file containing the questions, options, and answers in a quiz format. The user can then download this file and use it to study or practice the MCQs.

The script uses regular expressions to identify and extract the MCQs from the page. It also adds some interactivity to the quiz by allowing the user to click on options to see if they are correct or incorrect and to view the answer and explanation for each question.

Overall, this script provides a convenient way for users to extract MCQs from Sanfoundry webpages and save them in a format that is easy to use for studying or practicing.

Website Used For Scraping : https://www.sanfoundry.com/


Follow Me on Github : https://github.com/themrsami