Skip to content

Commit

Permalink
v1.5.0 with --long-description
Browse files Browse the repository at this point in the history
  • Loading branch information
rgaudin committed Aug 23, 2023
1 parent 951241d commit 12dab25
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 5 additions & 0 deletions zimit.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 12dab25

Please sign in to comment.