Skip to content

Commit

Permalink
Merge pull request #1051 from openzim/mindtouch
Browse files Browse the repository at this point in the history
Add new flags to mindtouch scraper
  • Loading branch information
benoit74 authored Nov 19, 2024
2 parents 3194ca6 + 2d77492 commit 7459c1a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions dispatcher/backend/src/common/schemas/offliners/mindtouch.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,25 @@ class Meta:
data_key="illustration-url",
)

optimization_cache = String(
metadata={
"label": "Optimization Cache URL",
"description": "S3 Storage URL including credentials and bucket",
"secret": True,
},
data_key="optimization-cache",
)

assets_workers = fields.Integer(
metadata={
"label": "Asset workers",
"description": "Number of parallel workers for asset processing. Default: "
"10",
},
required=False,
data_key="assets-workers",
)

debug = fields.Boolean(
truthy=[True],
falsy=[False],
Expand Down

0 comments on commit 7459c1a

Please sign in to comment.