Use this script to download documents from moodle without losing your marbles by using your noodle.
moodle_manager has been designed and tested around the UPEI moodle server. There is no guarantee moodle_manager will work with any other moodle servers as it makes assumptions about the HTML served.
Install dependencies:
- requests
- bs4
Then, simply run python3 moodle_manager.py
to begin!
moodle_manager will create a .moodle_data.json
file to persist some data accross sessions.
Only modify this file if you would like to manually erase your username/password from the file, or manually erase the download history.
Alexander Cairns' original moodle manager for original code and idea
Doebi's MoodleScraper for some inspirations
Patorjk Text to ASCII Art Generator for ASCII splash generation