diff --git a/CHANGELOG.md b/CHANGELOG.md index 2513d5a..fefa240 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,9 +19,17 @@ Date: YYYY-MM-DD --> +## v1.1.1 + +Date: 2024-12-16 + +### Patch Changes + +- Cookie parameter from `config.hcl` was not loaded + ## v1.1.0 -Date: YYYY-MM-DD +Date: 2024-12-01 ### What's Changed diff --git a/cmd/cli/main.go b/cmd/cli/main.go index 2934a32..64a5ae2 100644 --- a/cmd/cli/main.go +++ b/cmd/cli/main.go @@ -70,7 +70,9 @@ func parse() string { } config.Params.DownloadChapters = rootFlags.Args() - config.Params.PrimaryCookie = primaryCookie + if primaryCookie != nil && *primaryCookie != "" { + config.Params.PrimaryCookie = primaryCookie + } return *configPath }