Sign inSign up

andi91/moodle-dl

By andi91

•Updated 8 days ago

Build of Moodle-Downloader-2 by C0D3D3V https://github.com/C0D3D3V/Moodle-Downloader-2/

Image
0

10K+

andi91/moodle-dl repository overview

Github-Repos:
Moodle-dl: https://github.com/C0D3D3V/Moodle-Downloader-2/⁠
Docker-Build: https://github.com/andig91/docker_build/tree/main/moodle-dl⁠

⁠My configuration:

Choose if you want one directory for download and config, or if you want to separate it.
I had two separate directories, because the login-token is stored in the config directory and the downloads was on a group SharePoint.

⁠Login to Moodle with Azure-AD:

Open Dev-Tools and open Link (first worked for me):
https://ecampus.fhstp.ac.at/admin/tool/mobile/launch.php?service=moodle_mobile_app&passport=42.08381059106636&urlscheme=moodlemobile&oauthsso=1⁠
https://ecampus.fhstp.ac.at/admin/tool/mobile/launch.php?service=moodle_mobile_app&passport=12345&urlscheme=moodledl⁠
Copy token request (example): moodlemobile://token=YTc1OWQzZmZmODadsasdasdasdasdasd6eUh3NHpGa3N6Q2lxVE5PZ1dsasadadasdsadHFBT1Y=

⁠Call Moodle-Downloader with "new token" and "sso":

Second volume mapping only neccessary if you have a separate download directory:
docker run --rm -it -v "./Moodle_Download/SS2024_Config/:/files" -v "./SS2024/Moodle_Download/:/download" andi91/moodle-dl -nt -sso
Insert: line with "moodlemobile" or "moodledl"

⁠Configure Moodle-Downloader:

docker run --rm -it -v "./Moodle_Download/SS2024_Config/:/files" -v "./SS2024/Moodle_Download/:/download" andi91/moodle-dl --configure
If you habe seperate folders, copy this line in your config.json: "download_path": "/download"

⁠Start Downloading:

docker run --rm -it -v "./Moodle_Download/SS2024_Config/:/files" -v "./SS2024/Moodle_Download/:/download" andi91/moodle-dl

Tag summary

Content type

Image

Digest

sha256:c8186081f…

Size

426.3 MB

Last updated

8 days ago

docker pull andi91/moodle-dl