Comments (9)
Mm, sorry for you. On your Moodle the Moodle app is completely disabled. If the Moodle app is disabled, this downloader will not work because it uses the app's interface.
By the way, this is a very nice university :)
You can contact the person responsible (I think thats the email at the top of this website: https://itss.royalholloway.ac.uk/) and ask them to consider activating the Moodle app. This would not only allow you to use this downloader, but would allow the many students to use the app, which in itself has many great features.The function costs the university something, so they like to think twice about activating it.
from moodle-dl.
This would require you to rewrite everything in the folder moodle_connector. This downloader is completely based on the Moodle API (which universities usually only enable for the Moodle app).
I also can't recommend my old downloader (https://github.com/C0D3D3V/Moodle-Downloader), which doesn't use the API but parses the website so a cookie would work. But currently with the old downloader it is not possible to use a cookie, and the type of SSO your university uses is not implemented.
If I have a lot of time in the far future I could write a moodle_connector that does not use the API... but not this year.
from moodle-dl.
There is only one way to find out if your university is supported: If you can use the Moodle app for Android/IOS, then this downloader is also supported.
If you can use the moodle App you can try to obtain a token fully manually as explained here: https://github.com/C0D3D3V/Moodle-Downloader-2/wiki/Obtain-a-Token
There are only two options for setting up API support for Moodle with SSO Either the default method which I have completely implemented in the downloader, or with the help of a plugin (no one has reported this yet).
from moodle-dl.
A link to your Moodle would be very helpful. Screenshots of the error would also help.
from moodle-dl.
The SSO process has not changed since Moodle 3.8.2 so this is not related to the moodle version.
from moodle-dl.
There is only one way to find out if your university is supported: If you can use the Moodle app for Android/IOS, then this downloader is also supported.
If you can use the moodle App you can try to obtain a token fully manually as explained here: https://github.com/C0D3D3V/Moodle-Downloader-2/wiki/Obtain-a-Token
There are only two options for setting up API support for Moodle with SSO Either the default method which I have completely implemented in the downloader, or with the help of a plugin (no one has reported this yet).
Just tried using the mobile app, couldn't get logged in. It simply refused all possible variants of my credentials. Here's my moodle: https://moodle.royalholloway.ac.uk/
Also here's the screenshot what I see in the network log:
from moodle-dl.
So the problem is not the SSO, but the costs the university wants to save.
from moodle-dl.
Damn what a shame. Do you think it'd be possible to add in a feature to temporarily login using a cookie to download content once?
from moodle-dl.
Alright, I appreciate your help. It's a real shame I couldn't get to try your project out, I'll see if I can master something up maybe.
from moodle-dl.
Related Issues (20)
- Download fails on some courses HOT 1
- Unable to lock cache on Moodle v4 HOT 4
- Retry on timeout
- config.json should be created unreadable to others HOT 2
- Do not download large files HOT 3
- Usage of -nt -u -pw just hangs moodle-dl HOT 1
- Same file with identical content gets downloaded again every time Moodle-DL is executed HOT 5
- NoneType has no len() - not downloading HOT 1
- Size estimation increases during download HOT 8
- Rework optional downloads
- Is there anyway to use it to DL all "Books" on a course? HOT 7
- The Moodle System rejected the Request [invalidprivatetoken] HOT 1
- Quizzes are not properly downloaded HOT 9
- Calendar mod fails with 'dict' object has no attribute 'append' HOT 1
- question re pip install HOT 9
- Add index to subfolders and files
- Encountering this SSL error whilst running --init HOT 4
- Download global grades from a course
- Use pyinstaller to build moodle-dl packages in CI/CD
- Investigate if we can download parts of h5p Modules
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moodle-dl.