Increase download timeout

This commit is contained in:
FliegendeWurst 2020-04-28 12:02:13 +02:00
parent aa0beae6f3
commit 946dae564b

View File

@ -319,6 +319,7 @@ impl ILIAS {
let client = Client::builder() let client = Client::builder()
.cookie_store(true) .cookie_store(true)
.user_agent(concat!("KIT-ILIAS-downloader/", env!("CARGO_PKG_VERSION"))) .user_agent(concat!("KIT-ILIAS-downloader/", env!("CARGO_PKG_VERSION")))
// timeout is infinite by default
.build()?; .build()?;
// load .iliasignore file // load .iliasignore file
opt.output.push(".iliasignore"); opt.output.push(".iliasignore");