Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 1.42 KB

README.md

File metadata and controls

53 lines (36 loc) · 1.42 KB

chamilo

Script to download all files from courses on Chamilo elearning platform.

Tested on https://elearning.esi.heb.be, Chamilo platform for ESI.

Installation

git clone https://github.com/Astalaseven/chamilo.git
cd chamilo && pip install -r requirements.txt

Usage

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.

Update

To only update courses with the new document icon, use python chamilo.py update.

Check filesize

To check if local files have the correct size, use python chamilo.py check (slower).

Windows

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.

Rebuilding on Windows

  • Install python2.7 and py2exe (direct links)
  • python setup.py py2exe
  • Download UPX
  • upx --ultra-brute dist\chamilo.exe to reduce the binary size (4.329 Ko -> 2.807 Ko, 64.83%)