https://blog.dilawars.me/using-python-to-download-submitted-assignments-from-moodle/
Using Python to download submitted assignments from Moodle