mirror of
https://github.com/openzim/zimit.git
synced 2025-09-22 19:38:32 -04:00
v1.5.0 with --long-description
This commit is contained in:
parent
951241d8bf
commit
12dab25e61
@ -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
|
||||
|
||||
|
5
zimit.py
5
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user