Download public courses - C0D3D3V/Moodle-DL GitHub Wiki

Here is explained how you can download courses that you can view but in which you are not enrolled in.

The following process is automated by running moodle-dl --add-all-visible-courses. This will add all public courses to your configuration file.

You have to edit your config.json manually, therefore open the file in an editor. As in the wiki entry for config.json, now add the following section:

    "download_public_course_ids": [
        123,
    ],

In this example, the public course with ID 123 is added to your download list.

To find out the ID of the course you want to download, you can simply go to the course's web page. In your browser, the URL of the course is now displayed in the URL bar. For example, the URL could look like this: https://moodle.best-uni.de/m/course/view.php?id=123. You can now easily read the ID of the course at the end of the URL.