Commit Graph

90 Commits

Author SHA1 Message Date
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
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
9f1a2ab2fa Download exercise feedback 2020-05-11 10:06:22 +02:00
FliegendeWurst
9844de220e Download exercise solutions 2020-05-09 13:17:37 +02:00
FliegendeWurst
d1e758e28a Download exercises and weblinks 2020-05-09 09:25:41 +02:00
FliegendeWurst
c4ca0e15b4 Reorder struct definitions 2020-05-09 09:07:13 +02:00
FliegendeWurst
1cc3e608f9 Logging macro 2020-05-09 09:02:33 +02:00
FliegendeWurst
474ad43fc8 Use CARGO_PKG_NAME 2020-05-08 22:03:45 +02:00
FliegendeWurst
d6f635b442 Warn the user if a video has been updated
This also 'detects' duplicated videos.
2020-05-08 21:53:32 +02:00
FliegendeWurst
a3f84aa6fb Use anyhow instead of error-chain for errors 2020-05-08 21:25:45 +02:00
FliegendeWurst
a5afd84764 Improve log message 2020-05-03 21:48:13 +02:00
FliegendeWurst
946dae564b Increase download timeout 2020-04-28 12:02:13 +02:00
FliegendeWurst
aa0beae6f3 Update dependencies 2020-04-28 11:48:44 +02:00
FliegendeWurst
e8e81eeb0f Better error handling 2020-04-25 09:33:21 +02:00
FliegendeWurst
137c1ff113 Handle objects in folders that do not have links 2020-04-25 08:42:05 +02:00
FliegendeWurst
2a4e7c7326 Tweak logging 2020-04-24 20:46:05 +02:00
FliegendeWurst
86f24e0f14 Apply .iliasignore settings to all objects 2020-04-24 11:02:12 +02:00
FliegendeWurst
7faf14e37f Ignore courses specified in .iliasignore file 2020-04-24 10:14:53 +02:00
FliegendeWurst
12876a3e8c Update timeout (video CDN is slow) 2020-04-24 09:49:05 +02:00
FliegendeWurst
b1c148f5a9 Make content tree downloading optional
It is *really* slow.
2020-04-24 09:46:48 +02:00
FliegendeWurst
97ee02756d Fix content tree extraction 2020-04-23 21:35:11 +02:00
FliegendeWurst
3af01403bd Use content tree sidebar for discovering folders (ILIAS errors always returned) 2020-04-23 15:27:53 +02:00
FliegendeWurst
7f688f33c5 Handle errors properly 2020-04-23 11:21:05 +02:00
FliegendeWurst
f7abcda316 Paginate forum thread posts and warn about ignored forum pages 2020-04-23 10:03:34 +02:00
FliegendeWurst
cf54f9ad04 Always log new files 2020-04-22 14:07:30 +02:00
FliegendeWurst
20fe42d24a Actually wait for queued network jobs 2020-04-22 13:12:48 +02:00
FliegendeWurst
af0743184f Wait for queued network jobs 2020-04-22 12:59:20 +02:00
FliegendeWurst
dc55666255 Tweak network client settings 2020-04-22 12:53:50 +02:00
FliegendeWurst
36a78eb4d9 Always log new videos 2020-04-22 12:37:42 +02:00
FliegendeWurst
6fea6f2d0f Add CLI flag for forum downloading 2020-04-22 12:21:14 +02:00
FliegendeWurst
84eda01c29 Limit parallel network requests to CLI parameter 2020-04-22 12:19:28 +02:00
FliegendeWurst
1aca252f8c Experimental forum download 2020-04-22 12:03:36 +02:00
FliegendeWurst
a1d5ca5650 Change --help wording 2020-04-21 23:35:12 +02:00
FliegendeWurst
753689d0ba Clean up code 2020-04-21 23:20:04 +02:00
FliegendeWurst
e424ff6a72 Prompt user for username and password 2020-04-21 23:12:05 +02:00
FliegendeWurst
f10bba3e3e Parse command-line arguments 2020-04-21 23:03:30 +02:00
FliegendeWurst
1529a678e0
Initial commit 2020-04-21 22:41:28 +02:00