Commit Graph

88 Commits

Author SHA1 Message Date
FliegendeWurst
a6a40f69c8 Fix automatic output directory creation 2021-05-14 14:29:24 +02:00
FliegendeWurst
20b3b94327 Version 0.2.20 2021-05-13 13:30:05 +02:00
FliegendeWurst
218e63f7db Do GET requests when downloading 2021-05-13 12:10:45 +02:00
FliegendeWurst
d5037f9ae7 Retry requests on HTTP/2 NO_ERROR 2021-05-13 11:08:35 +02:00
FliegendeWurst
cea829b79e Fix deprecation warning 2021-05-11 19:03:37 +02:00
FliegendeWurst
4bbeb6c54b Adapt to indicatif 0.16 API 2021-05-11 09:56:57 +02:00
FliegendeWurst
1e9adafae1 Display keyring errors 2021-05-07 15:49:34 +02:00
FliegendeWurst
bc8bc9ed0d Add full license
(previously only documented in Cargo.toml)
2021-05-07 15:48:20 +02:00
FliegendeWurst
dc02ec7a46 Request rate limiting 2021-05-07 09:15:24 +02:00
FliegendeWurst
81543b1d39 Version 0.2.17 2021-05-04 10:47:23 +02:00
FliegendeWurst
3887d6781f Various bugfixes
course.html: no longer includes right column
course.html/folder.html: only downloaded if useful
correct handling of pseudonymous forums
2021-04-22 12:17:45 +02:00
FliegendeWurst
338c97821b Various cleanups 2021-04-21 21:38:08 +02:00
FliegendeWurst
e94ce97896 Handle disabled links + save main course page
+ misc. cleanups
2021-04-21 21:04:45 +02:00
FliegendeWurst
5c17ec0326 Display a progress bar if possible
(experimental)
2021-04-21 20:18:54 +02:00
FliegendeWurst
f291bcbb4b Handle external images in forum posts 2021-04-19 18:47:19 +02:00
FliegendeWurst
3ece654b52 Fix empty forum warning 2021-04-19 18:46:51 +02:00
FliegendeWurst
5ef486244e Fix warning when downloading forum
'unusual table row (2 cells)' was caused by the thread count above the main table
'unusual table row (0 cells)' was caused by the table header
2021-04-19 18:27:59 +02:00
FliegendeWurst
bcc16f1ec5 Use async semaphore to limit parallel jobs 2021-04-19 12:32:35 +02:00
FliegendeWurst
dd37cc9d91 Fix colors on windows 2021-04-19 11:15:55 +02:00
FliegendeWurst
a05ea16d83 --sync-url option 2021-04-19 10:33:46 +02:00
FliegendeWurst
d087ea0e92 Keyring authentication + username/password options 2021-04-17 15:38:18 +02:00
FliegendeWurst
381df53264 Code style + formatting + logging macros 2021-04-16 13:24:10 +02:00
lukasprobst
af2c477a04 Add the dependency 'colored' and color relevant messages 2021-04-15 23:37:36 +02:00
Craeckie
75846141f4 socks5h ensures, that DNS requests are also proxied 2021-04-14 12:00:44 +02:00
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
9cba23e999 Download forum post attachments 2021-04-10 12:55:26 +02:00
funnym0nk3y
5e17706f5e Updated to work again
Don't know why it works
2021-02-15 23:12:04 +01:00
FliegendeWurst
a8189de518 Use the async fs::canonicalize 2021-01-24 18:11:01 +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
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
6b1e6cb9a6 Replace invalid characters in filenames (Windows only, fixes #3) 2020-12-10 08:39:08 +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
4770bc9beb Version 0.2.10 2020-11-27 08:45:11 +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
FliegendeWurst
84c65b2b99 Update URL parameters to latest OpenCast 2020-11-01 12:05:32 +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
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
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
0fd1e6ce5b Clean up code slightly 2020-05-11 17:35:30 +02:00