Python script to scrape Gitam Result
-
Here the cse1.py and cse2.py are two files which scrape the result of CSE batch 2014-2018 of semester 1st,2nd,3rd and 4th sem ,total 21780 rows will be saved,divided into two files because of maximum post requests ,2500+ requests, will be exceeded.
-
Use result.py just to see results of a particular semester and id,doesn't require MySql database.
Requiremnts
- Python 3.4
$ sudo apt-get python3
Python Packages
- Install pip
$ sudo apt-get install python3-pip
- Requests
$ sudo pip3 install requests
- BeautifulSoup
$ sudo pip install beautifulsoup4
- MySQLdb
From here, it seems mysql module is not supported by python3 anymore