A simple and easy ilias downloader written with python. It helps you to download files on ilias to your computer.
Important: The project is now only support Ilias platform of Karlsruhe Institut für Technologie.
$ pip install iliaDownloader
$ iliaD
♦ Requirement if using source code
beautifulsoup4==4.9.0
bs4==0.0.1
requests==2.23.0
urllib3==1.25.9
soupsieve==2.0
texttable==1.6.2
♦ Initiate
iliaD init
or
iliaD init -name uxxxx -target path/of/target
For the first time to use you should use command init
to initiate the user information. Follow the constructions you can set your user name in form "uxxxx", the password and the path of target directory.
iliaD course
After user data initiated, you can use command course
to choose courses to be downloaded. Or you can use command sync
to choose courses and download the directly.
♦ Synchronize
iliaD sync
Use command sync
you can synchronize new files. The exist file will not be changed. Only new file in ilias will be downloaded to the folder.
♦ Check user data and edit
iliaD user
or
iliaD course
Use command user
to check and edit the user name, target directory and password. Use command course
to check and edit marked courses.
Command | Usage |
---|---|
init |
Init user config with name and target folder |
sync |
Synchronize all marked Ilias files |
user |
Print or change user data |
course |
Print or change marked courses |
If you have a raspberry pi or any Unix computer, you can do the following instructions to synchronize the ilias folder with your cloud storage.
- Download the iliaD .
- Download rclone .
- Bind rclone with your cloud storage.
- Initiate the iliaD, set the target directory (e.g.
/home/pi/Onedrive/SS20/
) - Open crontab: with
crontab -e
in terminal - Add following instructions:
00 05 * * * iliaD sync >> /path/of/iliaD.log 2>&1
30 05 * * * rclone -v copy path/of/target/directory/ path_of_cloud >> path/of/rclone.log 2>&1
With the seetings, your raspberry pi will synchronize the ilias folder, download new files at 5:00 am. and upload them in your cloud storage at 5:30 am.