Skip to content

priyanshul-govil/SIU-Result-Scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SIU Result Scraper

Scrapes SIU result page for multiple results. All you need is the list of PRNs for which you want to find the result, and a range of possible Seat Numbers.

The script will then do its magic, and store all results in a directory ./result in the form of PNG images. It will additionally create a file data.csv which will contain details of all the generated data.

However, the script isn't pure magic, so wait for SIU to release the result before you start cursing the develepor.

USE CASES

  1. Remember your PRN but not your Seat Number? Don't worry, just choose an appropriate range and the script will find it for you.

  2. Want to find results for multiple people (like your friends, or even your batch!)? All you need is their PRN.

DISCLAIMER

This project was made for educational purposes only.

Scraping the web might be considered illegal in some cases. All I ask is that you use this script responsibly, ethically, and at your own risk!

If you're from the SIU Administration and feel that this script violates any institutional policy, please contact me and I'll be happy to remove it.

DEPENDENCIES

$ pip install Selenium
$ pip install Pillow

USAGE

Clone this repository to your local machine. Navigate to the root directory.

Inside script.py, there are two places at the start of the file marked # MAKE CHANGES HERE. Go ahead and make the following changes:

  1. Change values of start_prn and end_prn. The script will work to capture results of this range of PRNs.

  2. Change values of start_seat_num and end_seat_num such that the range [start_seat_num, end_seat_num] contains the seat numbers for each required PRN. Take a good logical guess and choose a wide range of seat numbers. It won't matter as long as its reasonable (or if you've got a supercomputer!).

That's it. Run it now! What are you even waiting for?

SCOPE

Further improvements in mind are operating upon the data for analysis, and creating a front-end for mass usability. Contact me if you want to contribute.

About

Scrape SIU result page for everyone's result

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages