A project designed to automate the process of fetching result screenshots from the MGU result portal, sending them to students via email as…
README.md

MGU Result Scraper #

This is a simple project to get the result screenshots of a list of students from Mahatma Gandhi University result portal.

🌟 Introduction #

First of all, Mahatma Gandhi University doen't have a fixed official URL for accessing all results. They keep on changing as the results get published. Two prominant links (active as of now) for accessing results are listed down below:

The accuracy of these links are questionable as time passes. But the element heirarchy within result pages remains the same always.

🌟 Script in Action (Demo) #

Demo

🌟 Installation #

  1. Clone this repository
git clone https://github.com/decoded-cipher/mgu-result-bot.git
  1. Install NPM packages
npm install
  1. Update the data.json file.

Update the file with Permenent Registration Numbers (PRN) and the Exam ID. Exam ID (option value) can be obtained by inspecting the Examination <select> tag on result portal.

{
    "exam_id" : "58",
    "prn" : [
        "203242210987",
        " ... ",
        "203242211046"
    ]
}

🌟 Run Project #

This project can be made run by executing the following command via terminal.

npm start