This python script can automatically seize lectures held by School of Information and Engineering, Xiamen University. The core strategy is send http requests recurrently.
It has been developed and tested in python 3.6.3 (Anoconda 3), you can only download the original python 3.x interpreter. Module BeautifulSoup 4 etc. can be installed using pip.
- Download the code and extract it to a directory.
- Run the script as follows.
The script receive 3 parameters, which are, in sequence, website, student ID(sID), and password with respective to the website and sID. The website is the URL of the Management System of School of Information and Engineering, which is unchanged for serveral years but should be removed from the code.
python lectures_seizor.py "http://example.xmu.edu.cn/" your_student_id your_password
The script is licensed under GNU General Public License v3.0 (GPLv3).