Commit Graph

104 Commits

Author SHA1 Message Date
FliegendeWurst
1a95ad6f59 Always save page HTML 2021-06-07 12:30:57 +02:00
FliegendeWurst
4967e8afba Specify link base in saved HTML pages 2021-06-04 10:12:28 +02:00
FliegendeWurst
1459ff5ae4 Add missing await 2021-06-02 11:53:50 +02:00
FliegendeWurst
e7354e0ad1 Split downloading logic into modules 2021-06-02 11:13:13 +02:00
FliegendeWurst
0ebe5bc3cf Display session validation result 2021-05-30 17:14:58 +02:00
FliegendeWurst
b7330130fb Actually check previous session 2021-05-30 14:29:40 +02:00
FliegendeWurst
6ea00d5f59 Actually save session cookies
the cookie store crate by default only saves persistent cookies ...
2021-05-30 14:12:38 +02:00
FliegendeWurst
daa9bdbfa4 Error on expired session 2021-05-30 14:07:55 +02:00
FliegendeWurst
8ea2cae769 Session re-use 2021-05-30 13:39:40 +02:00
FliegendeWurst
5fb2faabfd Consistent code formatting 2021-05-28 16:02:05 +02:00
FliegendeWurst
a003d27442 Support download of other personal desktop pages 2021-05-28 15:32:40 +02:00
FliegendeWurst
9da1a9d2d7 Update dependencies and license
Since rpassword and rprompt are licensed under the Apache 2.0
the combined product has to be GPLv3+, not GPLv2.
2021-05-28 13:21:49 +02:00
FliegendeWurst
ac02493dbd Only show HTTP/2 warning in verbose mode 2021-05-18 08:47:52 +02:00
FliegendeWurst
6d4a1903fb Fix logging when the progress bar is enabled 2021-05-17 18:12:11 +02:00
FliegendeWurst
044caf497c Actually correct handling of HTTP/2 NO_ERROR 2021-05-17 18:06:25 +02:00
FliegendeWurst
8a1a5f6165 Organize code into modules 2021-05-17 18:05:54 +02:00
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