Astalaseven / chamilo

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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%)

About

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


Languages

Language:Python 100.0%