mirror of
https://github.com/openzim/zimit.git
synced 2025-09-23 03:52:16 -04:00
Updated readme: warc2zim params can be passed
This commit is contained in:
parent
efd8ca53b4
commit
98587045b4
@ -35,7 +35,7 @@ To build locally run:
|
||||
docker build -t openzim/zimit .
|
||||
```
|
||||
|
||||
The image accepts the following parameters:
|
||||
The image accepts the following parameters, **as well as any of the [warc2zim](https://github.com/openzim/warc2zim) ones**; useful for setting metadata, for instance:
|
||||
|
||||
- `--url URL` - the url to be crawled (required)
|
||||
- `--workers N` - number of crawl workers to be run in parallel
|
||||
@ -53,6 +53,8 @@ flags are [needed to run Chrome in Docker](https://github.com/puppeteer/puppetee
|
||||
Example command:
|
||||
|
||||
```bash
|
||||
docker run openzim/zimit zimit --help
|
||||
docker run openzim/zimit warc2zim --help
|
||||
docker run -v /output:/output --cap-add=SYS_ADMIN --cap-add=NET_ADMIN \
|
||||
--shm-size=1gb openzim/zimit zimit --url URL --name myzimfile --workers 2 --waitUntil domcontentloaded
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user