Version 0.2.24

This commit is contained in:
FliegendeWurst 2021-11-01 17:46:12 +01:00
parent a6c0e97755
commit e207eb3f06
5 changed files with 15 additions and 6 deletions

View File

@ -5,6 +5,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [Unreleased]
## [0.2.24] - 2021-11-01
### Added
- `--combine-videos` option to merge multiple video streams of the same lecture
- `--save-ilias-pages` option to also save the ILIAS overview pages of courses/folders
### Fixed
- Downloading of lectures that consist of multiple streams
## [0.2.23] - 2021-06-14
### Added
- Logging output of saved forum post attachments
@ -145,7 +153,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
[@Craeckie]: https://github.com/Craeckie
[@funnym0nk3y]: https://github.com/funnym0nk3y
[@Ma27]: https://github.com/Ma27
[Unreleased]: https://github.com/FliegendeWurst/KIT-ILIAS-downloader/compare/v0.2.23...HEAD
[Unreleased]: https://github.com/FliegendeWurst/KIT-ILIAS-downloader/compare/v0.2.24...HEAD
[0.2.23]: https://github.com/FliegendeWurst/KIT-ILIAS-downloader/compare/v0.2.23...v0.2.24
[0.2.23]: https://github.com/FliegendeWurst/KIT-ILIAS-downloader/compare/v0.2.22...v0.2.23
[0.2.22]: https://github.com/FliegendeWurst/KIT-ILIAS-downloader/compare/v0.2.21...v0.2.22
[0.2.21]: https://github.com/FliegendeWurst/KIT-ILIAS-downloader/compare/v0.2.20...v0.2.21

2
Cargo.lock generated
View File

@ -4,7 +4,7 @@ version = 3
[[package]]
name = "KIT-ILIAS-downloader"
version = "0.2.23"
version = "0.2.24"
dependencies = [
"anyhow",
"atty",

View File

@ -1,6 +1,6 @@
[package]
name = "KIT-ILIAS-downloader"
version = "0.2.23"
version = "0.2.24"
authors = ["FliegendeWurst <2012gdwu@posteo.de>"]
license = "GPL-3.0-or-later"
edition = "2018"

View File

@ -1,6 +1,6 @@
use std::{
path::{Path, PathBuf},
process::{ExitStatus, Stdio},
process::Stdio,
sync::Arc,
};

View File

@ -70,7 +70,7 @@ async fn login(opt: Opt, ignore: Gitignore, course_names: HashMap<String, String
info!("Checking session validity..");
// TODO: this probably isn't the best solution..
if let Err(e) = ilias.get_html(DEFAULT_SYNC_URL).await {
error!(e)
error!(e);
} else {
success!("Session still active!");
return Ok(ilias);
@ -172,7 +172,7 @@ async fn real_main(mut opt: Opt) -> Result<()> {
while let Either::Left((task, _)) = future::select(rx.next(), future::ready(())).await {
if let Some(task) = task {
if let Err(e) = task.await {
error!(e)
error!(e);
}
} else {
break; // channel is empty => all tasks are completed