Skip to content

hbelhaj/Moodle-Downloader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Automatic Moodle Downloader

The moodle.py script downloads all the files posted in the course page of all the courses in your moodle page. Files with the same name in a course are not downloaded and are ignored.

Set the following in the file config.ini before running the script

  • username : LDAP Username
  • password : LDAP Password
  • root_dir : The root directory for where the files are to be stored
  • url : URL for moodle authentication

All the files are stored in their respective directories inside the root_dir with the names as in moodle.

Cannot connect to moodle : Authentication failure or moodle is down.

REQUIREMENTS

  • Python 2.7+
  • Beautifulsoup - sudo apt-get install python-beautifulsoup

EXTRAS

  • Put watch -n 3600 python moodle.py in startup to fetch the files every hour.

This code is the modified version of the downloader created by Dheeraj Reddy Kalmekolan

About

Automatic Moodle Downloader Script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Python 100.0%