Commit Graph

199 Commits

Author SHA1 Message Date
Craeckie
af094de705 Added proxy support 2021-04-14 11:55:08 +02:00
FliegendeWurst
652fdd91a4 Include forum post header in download 2021-04-10 13:35:13 +02:00
FliegendeWurst
7ac9993a5e Update dependencies 2021-04-10 13:23:17 +02:00
FliegendeWurst
9cba23e999 Download forum post attachments 2021-04-10 12:55:26 +02:00
FliegendeWurst
ce6289954b
Simplify installation instructions 2021-04-08 19:10:38 +02:00
FliegendeWurst
fe08f95478 Version 0.2.14 2021-02-16 10:08:10 +01:00
FliegendeWurst
92e0b2201a Update dependencies 2021-02-16 10:06:44 +01:00
funnym0nk3y
5e17706f5e Updated to work again
Don't know why it works
2021-02-15 23:12:04 +01:00
FliegendeWurst
f43b1031c8 CI: upload artifacts 2021-01-24 18:24:10 +01:00
FliegendeWurst
a8189de518 Use the async fs::canonicalize 2021-01-24 18:11:01 +01:00
FliegendeWurst
7961132930 GitHub only likes 2 spaces 2021-01-24 18:03:06 +01:00
FliegendeWurst
5cf21db046 Add GitHub CI 2021-01-24 18:02:12 +01:00
FliegendeWurst
77101a7173 Attempt to use long paths on Windows 2021-01-24 17:52:01 +01:00
FliegendeWurst
711bfe8d17 Update tokio to 1.0 2021-01-20 10:26:38 +01:00
FliegendeWurst
c5b8cc7399 Version 0.2.13 2021-01-05 12:31:38 +01:00
Maximilian Bosch
973bb65867
Fix shibboleth login by passing a CSRF token (#4)
Credits go 2714ac6be6
where I derived this fix from.
2020-12-31 10:59:28 +01:00
FliegendeWurst
d557efef6b Handle duplicate file names in exercises 2020-12-16 08:32:47 +01:00
FliegendeWurst
72f7842336 Version 0.2.12 2020-12-10 08:40:24 +01:00
FliegendeWurst
6b1e6cb9a6 Replace invalid characters in filenames (Windows only, fixes #3) 2020-12-10 08:39:08 +01:00
FliegendeWurst
58078fc2cf Version 0.2.11 2020-12-04 13:06:02 +01:00
FliegendeWurst
7d4b9279ee Terminate once all tasks are complete 2020-11-28 16:42:26 +01:00
FliegendeWurst
09f69b9efd Wait on all spawned tasks 2020-11-28 13:12:42 +01:00
FliegendeWurst
377cef7cf2 Update dependencies 2020-11-28 12:56:23 +01:00
FliegendeWurst
4770bc9beb Version 0.2.10 2020-11-27 08:45:11 +01:00
FliegendeWurst
7d6f1da7ce Update readme 2020-11-09 12:02:44 +01:00
FliegendeWurst
f195911531 Load username and password from .iliaslogin 2020-11-09 08:58:21 +01:00
FliegendeWurst
97ac79b19f Replace forward and backward slashes in names 2020-11-06 12:52:46 +01:00
Maximilian Bosch
ef860819d9 Regenerate Cargo.lock via cargo vendor for 0.2.9
Otherwise, the build would fail like this when using `cargo build
--frozen` which is e.g. the case when building Rust code with Nix[1]:

```
error: the lock file /build/source/Cargo.lock needs to be updated but --frozen was passed to prevent this
```

[1] https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/rust.section.md
2020-11-01 23:00:18 +01:00
FliegendeWurst
a1b5ba2b5b Version 0.2.9 2020-11-01 12:27:58 +01:00
FliegendeWurst
84c65b2b99 Update URL parameters to latest OpenCast 2020-11-01 12:05:32 +01:00
FliegendeWurst
9ca1e6af39 Update dependencies 2020-11-01 11:55:44 +01:00
FliegendeWurst
b9446c0dfa Extract url out of web link HEAD request errors 2020-07-22 18:02:43 +02:00
FliegendeWurst
449d642bf5 Fix video downloading
Load the full lecture list differently (should work for every course now)
Actually download new videos
2020-07-16 11:34:56 +02:00
FliegendeWurst
3b31b08246 Version 0.2.7 2020-07-15 22:36:39 +02:00
FliegendeWurst
3483b7db48 Update dependencies 2020-07-13 09:44:27 +02:00
FliegendeWurst
1610db4c3c Avoid race condition in network request scheduling
oops
2020-07-13 09:41:00 +02:00
FliegendeWurst
1aa28f0d00 Only download video metadata if not downloaded yet
The user can still request metadata checks.
2020-07-13 09:29:49 +02:00
FliegendeWurst
b3ad9f42c9 Download full OpenCast lecture list 2020-07-02 23:10:51 +02:00
FliegendeWurst
67ba34af85 Make OpenCast lecture update checks optional 2020-06-23 16:42:15 +02:00
FliegendeWurst
7cc780ed18 Create output directory automatically 2020-06-19 16:51:39 +02:00
FliegendeWurst
15bb53c770 Update dependencies 2020-06-19 16:51:26 +02:00
FliegendeWurst
d3d7a1336c Version 0.2.6 2020-05-18 11:14:21 +02:00
FliegendeWurst
cb64cdbd9a Don't use raw html content for video file names 2020-05-15 19:38:13 +02:00
FliegendeWurst
d815a6ea1e Simplify code 2020-05-12 15:09:32 +02:00
FliegendeWurst
5288d6723f Update dependencies 2020-05-12 06:49:54 +02:00
FliegendeWurst
0fd1e6ce5b Clean up code slightly 2020-05-11 17:35:30 +02:00
FliegendeWurst
dfdd6829fc Utility function to create a directory 2020-05-11 17:17:13 +02:00
FliegendeWurst
9a88edf297 Create utility function to write data to file 2020-05-11 17:02:05 +02:00
FliegendeWurst
728dde9a5d Error handling around URL parsing
Is currently dead code, but might be useful eventually.
2020-05-11 16:08:34 +02:00
FliegendeWurst
b7b52fd107
Add example: only download one tutorial folder 2020-05-11 15:58:09 +02:00