diff --git a/CHANGELOG.md b/CHANGELOG.md index a53920f..5982423 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,13 @@ All notable changes to this project are documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) (as of version 1.2.0). -## [Unreleased] +## [1.5.0] - 2023-08-23 + +### Added + +- `--long-description` param + +## [1.4.1] - 2023-08-23 ### Changed diff --git a/zimit.py b/zimit.py index b1f6886..5349f5a 100755 --- a/zimit.py +++ b/zimit.py @@ -126,6 +126,7 @@ def zimit(args=None): parser.add_argument("-u", "--url", help="The URL to start crawling from") parser.add_argument("--title", help="ZIM title") parser.add_argument("--description", help="ZIM description") + parser.add_argument("--long-description", help="ZIM long description metadata") parser.add_argument( "--urlFile", @@ -360,6 +361,10 @@ def zimit(args=None): warc2zim_args.append("--description") warc2zim_args.append(zimit_args.description) + if zimit_args.long_description: + warc2zim_args.append("--long-description") + warc2zim_args.append(zimit_args.long_description) + if zimit_args.zim_lang: warc2zim_args.append("--lang") warc2zim_args.append(zimit_args.zim_lang)