Script to download all files from courses on Chamilo elearning platform.
Tested on https://elearning.esi.heb.be, Chamilo platform for ESI.
git clone https://github.com/Astalaseven/chamilo.git
cd chamilo && pip install -r requirements.txt
You first need to edit your credentials:
USERNAME = 'esi_id'
PASSWORD = 'esi_pass'
or into credentials.ini
:
[chamilo]
username = esi_id
password = esi_pass
Then you can use it: python chamilo.py
.
To only update courses with the icon, use python chamilo.py update
.
To check if local files have the correct size, use python chamilo.py check
(slower).
A build is available in the dist
folder.
You only have to put your credentials in dist/credentials.ini
and double clic on dist/chamilo
.