-
-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Download submissions only #135
Comments
You can use the following script:
Also available here: https://gist.github.com/C0D3D3V/cd0f4530c7178c01943d8a802daf9aa3 This creates a zip that looks like this when called with Or if you set You can of course adjust the folder structure as you like with small changes. (For example, you could remove the In general I find the idea interesting to allow such granular settings that you can download for example only your own submissions and nothing else. It's just a bit strange and not the normal use case. And would mean some restructuring, currently this is not so easy to do with moodle-dl without breaking a lot, but you can easily customize moodle-dl to download only the submissions. By either adjusting the filter https://github.com/C0D3D3V/Moodle-Downloader-2/blob/e005f30bb18672b186d79e587eba0b62974fd6f4/moodle_dl/moodle_connector/moodle_service.py#L408 or change what is downloaded at all https://github.com/C0D3D3V/Moodle-Downloader-2/blob/e005f30bb18672b186d79e587eba0b62974fd6f4/moodle_dl/moodle_connector/moodle_service.py#L243 these are of course only quick and dirty changes. If you want to implement this properly so that it works properly and is configurable, feel free to make a pullrequest. |
Avoid duplicates
Is your feature request related to a problem? Please describe.
Often at the end of a course I need to send all my assignments' submissions to the lecturer/professor for some kind of report or something similar to it. Even with Moodle Downloader I need to manually delete all the lectures, tasks information etc. and leave submissions only.
Describe the solution you'd like
Moodle Downloader has an ability to download course content with or without submissions, but having an option to download course submissions only would be great.
Describe alternatives you've considered
None
Additional context
None
The text was updated successfully, but these errors were encountered: