KIT-ILIAS-downloader/README.md

73 lines
2.1 KiB
Markdown
Raw Normal View History

2020-04-21 20:41:28 +00:00
# KIT-ILIAS-downloader
Download content from ILIAS. That includes:
2021-04-08 17:10:38 +00:00
* files
* exercise sheets and solutions
2020-04-21 20:41:28 +00:00
* Opencast lectures
2021-04-08 17:10:38 +00:00
* forum posts (beta)
2020-04-21 20:41:28 +00:00
## Installation
2020-04-24 09:13:31 +00:00
Go to the [releases](../../releases) and get the executable for your operating system. Alternatively compile from source: (to get the latest updates)
2020-04-25 08:38:49 +00:00
```
2020-04-21 20:41:28 +00:00
$ git clone https://github.com/FliegendeWurst/KIT-ILIAS-downloader
$ cd KIT-ILIAS-downloader
2021-04-08 17:10:38 +00:00
$ cargo install --path .
2020-04-21 20:41:28 +00:00
```
## Usage
2020-04-25 08:38:49 +00:00
Use `-o <directory>` to specify the download directory. Username and password have to be provided every time the program is run.
2020-04-22 12:11:42 +00:00
2020-05-11 08:13:57 +00:00
Only content on your [personal desktop](https://ilias.studium.kit.edu/ilias.php?baseClass=ilPersonalDesktopGUI&cmd=jumpToSelectedItems) will be downloaded.
2020-04-25 08:38:49 +00:00
```
2020-04-21 21:03:30 +00:00
$ KIT-ILIAS-downloader --help
2021-04-08 17:10:38 +00:00
KIT-ILIAS-downloader 0.2.14
2020-04-21 21:03:30 +00:00
USAGE:
2020-04-22 10:21:58 +00:00
KIT-ILIAS-downloader [FLAGS] [OPTIONS] --output <output>
2020-04-21 21:03:30 +00:00
FLAGS:
2020-04-24 09:13:31 +00:00
--content-tree Use content tree (slow but thorough)
-f Re-download already present files
-t, --forum Download forum content
-h, --help Prints help information
-n, --no-videos Do not download Opencast videos
-s, --skip-files Do not download files
-V, --version Prints version information
-v Verbose logging (print objects downloaded)
2020-04-21 21:03:30 +00:00
OPTIONS:
2020-04-22 10:21:58 +00:00
-j, --jobs <jobs> Parallel download jobs [default: 1]
2020-04-21 21:03:30 +00:00
-o, --output <output> Output directory
2021-04-13 11:08:02 +00:00
-p, --proxy <proxy> Proxy, e.g. socks5://127.0.0.1:1080 [default: ""]
2020-04-21 21:03:30 +00:00
```
2020-04-21 20:41:28 +00:00
2020-04-25 08:38:49 +00:00
### .iliasignore
.gitignore syntax can be used in a `.iliasignore` file: (located in the download folder)
```ignore
# example 1: only download a single course
2020-04-25 08:38:49 +00:00
/*/
!/InsertCourseHere/
# example 2: only download files related to one tutorial
/Course/Tutorien/*/
!/Course/Tutorien/Tut* 3/
2020-04-25 08:38:49 +00:00
```
2020-11-09 11:02:44 +00:00
### .iliaslogin
If you don't want to enter your credentials every time you run the program, you can instead save your username and password in a file (`.iliaslogin`):
```
username
password
```
2020-05-11 08:13:57 +00:00
## Similar programs
2020-04-21 20:41:28 +00:00
2020-05-11 08:13:57 +00:00
- https://github.com/brantsch/kit-ilias-fuse/
2020-04-25 08:38:49 +00:00
- https://github.com/Garmelon/PFERD/