WARNING: Technical stuff ahead. Proceed at your own risk.
Here is the post I promised about the rank list generator I built. It is a tiny program that extracts the CGPA and SGPA of every student, saves them in a file and then sorts them according to the SGPA and CGPA and saves them in two separate files. I used Python 2.7, with “requests” library for sending and receiving data and BeautifulSoup library to parse the web page received. The hardest part in this entire project was sending data. So, I’ll only deal with that. For everything else, which was very easy, here’s the code.
The main page (http://220.127.116.11/web/Default.aspx) has a text input field. On reading the page source, we find 9 input tags, of which 5 are hidden. The names of the important hidden input statements are
Continue reading →