This is a simple project to get the result screenshots of a list of students from Mahatma Gandhi University result portal.
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.
- Clone this repository
git clone https://github.com/decoded-cipher/mgu-result-bot.git
- Install NPM packages
npm install
- 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"
]
}
This project can be made run by executing the following command via terminal.
npm start