C0D3D3V / Moodle-DL

Moodle-DL downloads course content fast from Moodle (eg. lecture pdfs)
GNU General Public License v3.0
423 stars 64 forks source link

download from password protected sciebo links #91

Closed tobiasfunke1 closed 3 years ago

tobiasfunke1 commented 3 years ago

we should implement downloading links like this: https://ruhr-uni-bochum.sciebo.de/s/KWKLfkf2R30ssyT

C0D3D3V commented 3 years ago

We could write a youtube-dl extractor and use the netrc-file for authentication. Similar to the other extractors. Here is an example.

tobiasfunke1 commented 3 years ago

Wouldn't it be better to build modules for different pages, like plugins. within a plugin we can then use youtube-dl. for sciebo this is probably not necessary since you can download everything from the link by appending /download. To write an extractor would be too much or?

C0D3D3V commented 3 years ago

If we would write an extractor, it would be universal for all owncloud instances. Not only for sciebo. And one could use it with youtube-dl not only with moodle-dl

C0D3D3V commented 3 years ago

We can now download from password protected owncloud/nextcloud webpages! The config entry looks like this:

    "videopasswords": {
        "ruhr-uni-bochum.sciebo.de": [
            "test",
            "password"
        ],
        "secret.service.fbi": "12345"
    }

I will write a wiki entry.

C0D3D3V commented 3 years ago

https://github.com/C0D3D3V/Moodle-Downloader-2/wiki/Download-password-protected-external-links

C0D3D3V commented 3 years ago

Can you please test this? It is in the new release!