mirror of
https://github.com/FliegendeWurst/KIT-ILIAS-downloader.git
synced 2024-08-28 04:04:18 +00:00
Version 0.2.24
This commit is contained in:
parent
a6c0e97755
commit
e207eb3f06
11
CHANGELOG.md
11
CHANGELOG.md
@ -5,6 +5,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||||||
|
|
||||||
## [Unreleased]
|
## [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
|
## [0.2.23] - 2021-06-14
|
||||||
### Added
|
### Added
|
||||||
- Logging output of saved forum post attachments
|
- 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
|
[@Craeckie]: https://github.com/Craeckie
|
||||||
[@funnym0nk3y]: https://github.com/funnym0nk3y
|
[@funnym0nk3y]: https://github.com/funnym0nk3y
|
||||||
[@Ma27]: https://github.com/Ma27
|
[@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.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.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
|
[0.2.21]: https://github.com/FliegendeWurst/KIT-ILIAS-downloader/compare/v0.2.20...v0.2.21
|
||||||
|
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -4,7 +4,7 @@ version = 3
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "KIT-ILIAS-downloader"
|
name = "KIT-ILIAS-downloader"
|
||||||
version = "0.2.23"
|
version = "0.2.24"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"atty",
|
"atty",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "KIT-ILIAS-downloader"
|
name = "KIT-ILIAS-downloader"
|
||||||
version = "0.2.23"
|
version = "0.2.24"
|
||||||
authors = ["FliegendeWurst <2012gdwu@posteo.de>"]
|
authors = ["FliegendeWurst <2012gdwu@posteo.de>"]
|
||||||
license = "GPL-3.0-or-later"
|
license = "GPL-3.0-or-later"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
use std::{
|
use std::{
|
||||||
path::{Path, PathBuf},
|
path::{Path, PathBuf},
|
||||||
process::{ExitStatus, Stdio},
|
process::Stdio,
|
||||||
sync::Arc,
|
sync::Arc,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@ async fn login(opt: Opt, ignore: Gitignore, course_names: HashMap<String, String
|
|||||||
info!("Checking session validity..");
|
info!("Checking session validity..");
|
||||||
// TODO: this probably isn't the best solution..
|
// TODO: this probably isn't the best solution..
|
||||||
if let Err(e) = ilias.get_html(DEFAULT_SYNC_URL).await {
|
if let Err(e) = ilias.get_html(DEFAULT_SYNC_URL).await {
|
||||||
error!(e)
|
error!(e);
|
||||||
} else {
|
} else {
|
||||||
success!("Session still active!");
|
success!("Session still active!");
|
||||||
return Ok(ilias);
|
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 {
|
while let Either::Left((task, _)) = future::select(rx.next(), future::ready(())).await {
|
||||||
if let Some(task) = task {
|
if let Some(task) = task {
|
||||||
if let Err(e) = task.await {
|
if let Err(e) = task.await {
|
||||||
error!(e)
|
error!(e);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
break; // channel is empty => all tasks are completed
|
break; // channel is empty => all tasks are completed
|
||||||
|
Loading…
Reference in New Issue
Block a user