Closed AlphaJack closed 1 year ago
Explain what URL is not found for better debugging
Its not an URL that can not be reached. Its your CA-Chain. I wonder how this is possible on a linux xD Normally that is an Windows or MacOS problem. And even there certifi should find the correct CA-Chain location. I guess that has something to do with the last PR ^^ But I will try to figure out what the problem is.
Regarding moodlemobile://token=XXXXXX
Feel free to improve the text. I know about that, and did not improve the text since. I wanted to program a new, better version to get the SSO token automatically, without any user interaction. I started it offline, thats why I did not update the old SSO Process...
moodlemobile
can basically be something completely random moodledownloader
is just an example
Quick workaround would be to use the option --skip-cert-verify
I think I will use this issue to finally remove all urllib / urllib3 code and replace it with the requests library.
Thank you, in the meanwhile I also tested edu-sync which is written in Rust and supports token login
and supports token login
You can also just write the token in the moodle-dl config without using the initiator script. See also: https://github.com/C0D3D3V/Moodle-Downloader-2/wiki/Config.json
But interesting project you found there. I think I will make a list of similar projects in the Readme, so people can find them easier.
Feel free to open a new issue, if the issue persists in the new release.
Avoid duplicates
Describe the bug
I cannot use Moodle-dl as it always return:
Steps to reproduce the issue
Moodle log in via SSO
Moodle-dl was then configured to download everything from a whitelist of courses, except files that require cookies.
All the runs return the following:
moodle-dl --verbose
Technical details
Expected behavior
Courses are downloaded as expected
Possible Fix
Explain what URL is not found for better debugging
Not relevant to these issue, but potential setup message improvement: my SSO token was found in the 302 response at the "location" property, but it started with
moodlemobile://token=XXXXXX
, notmoodledownloader://token=XXXXXX
as written in the guide.