StudDP is a file downloader for Stud.IP. It uses the Stud.IP: Rest.IP plugin to download files when they changed or are not existent on the file system.
To set it up, do the following:
git clone https://github.com/Faedrivin/StudDP
cd StudDP
cp default_config.json config.jsonModify the config.json:
{
"username": "",
"password": "",
"base_address": "https://studip.uos.de/plugins.php/restipplugin",
"local_path": "~/studip",
"interval": 1200,
"last_check": -1,
"courses_selected": false,
"courses": []
}usernameis your login name.passwordis your password.base_addressis the addres up to the root of your Rest.IP plugin. Leave out any trailing slashes.local_pathis your local folder where files should be downloaded to.intervalis the checking interval in seconds (so the default is 20 minutes).last_checkis the last timestamp when checks were performed. Leave this as -1.coursesis your list of courses to download. You set this when running the program first. Reset this to [] if you want to change your selection.courses_selectedtells the program if you have chosen your courses. Leave this to false, reset to true if you want to change your selection.
When running for the first time, use:
./StudDP.pyTo run it use:
./StudDP.py&To stop it use:
./stop.shTo view the log use:
tail -f ~/.studdp/info.logTo uninstall use:
rm -rf StudDP
rm -rf ~/.studdp