Version 0.2.18

This commit is contained in:
FliegendeWurst 2021-05-07 09:18:29 +02:00
parent dc02ec7a46
commit e88640c9c9
4 changed files with 18 additions and 14 deletions

21
Cargo.lock generated
View File

@ -4,7 +4,7 @@ version = 3
[[package]] [[package]]
name = "KIT-ILIAS-downloader" name = "KIT-ILIAS-downloader"
version = "0.2.17" version = "0.2.18"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"atty", "atty",
@ -308,10 +308,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b3a71ab494c0b5b860bdc8407ae08978052417070c2ced38573a9157ad75b8ac" checksum = "b3a71ab494c0b5b860bdc8407ae08978052417070c2ced38573a9157ad75b8ac"
[[package]] [[package]]
name = "cpuid-bool" name = "cpufeatures"
version = "0.1.2" version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8aebca1129a03dc6dc2b127edd729435bbc4a37e1d5f4d7513165089ceb02634" checksum = "dec1028182c380cc45a2e2c5ec841134f2dfd0f8f5f0a5bcd68004f81b5efdf4"
dependencies = [
"libc",
]
[[package]] [[package]]
name = "crc32fast" name = "crc32fast"
@ -1300,9 +1303,9 @@ dependencies = [
[[package]] [[package]]
name = "regex" name = "regex"
version = "1.5.3" version = "1.5.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ce5f1ceb7f74abbce32601642fcf8e8508a8a8991e0621c7d750295b9095702b" checksum = "d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461"
dependencies = [ dependencies = [
"aho-corasick", "aho-corasick",
"memchr", "memchr",
@ -1586,13 +1589,13 @@ checksum = "2579985fda508104f7587689507983eadd6a6e84dd35d6d115361f530916fa0d"
[[package]] [[package]]
name = "sha2" name = "sha2"
version = "0.9.3" version = "0.9.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fa827a14b29ab7f44778d14a88d3cb76e949c45083f7dbfa507d0cb699dc12de" checksum = "d8f6b75b17576b792bef0db1bcc4b8b8bcdf9506744cf34b974195487af6cff2"
dependencies = [ dependencies = [
"block-buffer", "block-buffer",
"cfg-if", "cfg-if",
"cpuid-bool", "cpufeatures",
"digest", "digest",
"opaque-debug", "opaque-debug",
] ]

View File

@ -1,8 +1,8 @@
[package] [package]
name = "KIT-ILIAS-downloader" name = "KIT-ILIAS-downloader"
version = "0.2.17" version = "0.2.18"
authors = ["FliegendeWurst <2012gdwu@posteo.de>"] authors = ["FliegendeWurst <2012gdwu@posteo.de>"]
license = "GPL-2.0" license = "GPL-2.0-or-later"
edition = "2018" edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -38,14 +38,14 @@ $ KIT-ILIAS-downloader -o ./ILIAS/WS2021-HM1 --sync-url 'https://ilias.studium.k
``` ```
$ KIT-ILIAS-downloader --help $ KIT-ILIAS-downloader --help
KIT-ILIAS-downloader 0.2.16 KIT-ILIAS-downloader 0.2.18
USAGE: USAGE:
KIT-ILIAS-downloader [FLAGS] [OPTIONS] --output <output> KIT-ILIAS-downloader [FLAGS] [OPTIONS] --output <output>
FLAGS: FLAGS:
--check-videos Re-check OpenCast lectures (slow) --check-videos Re-check OpenCast lectures (slow)
--content-tree Use content tree (slow but thorough) --content-tree Use content tree (experimental)
-f Re-download already present files -f Re-download already present files
-t, --forum Download forum content -t, --forum Download forum content
-h, --help Prints help information -h, --help Prints help information
@ -60,6 +60,7 @@ OPTIONS:
-o, --output <output> Output directory -o, --output <output> Output directory
-P, --password <password> KIT account password -P, --password <password> KIT account password
-p, --proxy <proxy> Proxy, e.g. socks5h://127.0.0.1:1080 -p, --proxy <proxy> Proxy, e.g. socks5h://127.0.0.1:1080
--rate <rate> Requests per minute [default: 8]
--sync-url <sync-url> ILIAS page to download --sync-url <sync-url> ILIAS page to download
-U, --username <username> KIT account username -U, --username <username> KIT account username
``` ```

View File

@ -7,4 +7,4 @@ rustup target add x86_64-pc-windows-gnu
# if on Debian or similar # if on Debian or similar
sudo apt install mingw-w64 sudo apt install mingw-w64
cargo build --release --all-features --target x86_64-pc-windows-gnu cargo build --release --all-features --target x86_64-pc-windows-gnu
strip target/x86_64-pc-windows-gnu/release/KIT-ILIAS-downloader strip target/x86_64-pc-windows-gnu/release/KIT-ILIAS-downloader.exe