readme
This commit is contained in:
parent
a77e73c8c5
commit
68edcdab5c
10
README.md
10
README.md
|
@ -57,21 +57,20 @@ will pack the content of the `en.wikivoyage.org` into the `en.wikivoyage.org.zim
|
||||||
Run either of scripts with '--help' switch to see the list of all options available:
|
Run either of scripts with '--help' switch to see the list of all options available:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ wikizimmer -h
|
|
||||||
|
|
||||||
Usage: wikizimmer [options] <wiki-page-URL>
|
Usage: wikizimmer [options] <wiki-page-URL>
|
||||||
|
|
||||||
Dump a static-HTML snapshot of a MediaWiki-powered wiki.
|
Dump a static-HTML snapshot of a MediaWiki-powered wiki.
|
||||||
|
|
||||||
Where:
|
Where:
|
||||||
wiki-page-URL URL of a sample page at the wiki to be dumped.
|
wiki-page-URL URL of a sample page at the wiki to be dumped.
|
||||||
This page's styling will be used as a template for all pages in the dump.
|
This page's styling will be used as a template for all pages in the dump.
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
|
|
||||||
-V, --version output the version number
|
-V, --version output the version number
|
||||||
-t, --titles [titles] get only titles listed (separated by "|")
|
-t, --titles [titles] get only titles listed (separated by "|")
|
||||||
-x, --exclude [title regexp] exclude titles by a regular expression
|
-x, --exclude [title regexp] exclude titles by a regular expression
|
||||||
|
-s, --name-spaces [name-space,...] name spaces to download (default: 0, i.e main)
|
||||||
-r, --rmdir delete destination directory before processing the source
|
-r, --rmdir delete destination directory before processing the source
|
||||||
--no-images don't download images
|
--no-images don't download images
|
||||||
--no-css don't page styling
|
--no-css don't page styling
|
||||||
|
@ -79,7 +78,8 @@ $ wikizimmer -h
|
||||||
-d, --no-download-errors ignore download errors, 404 error is ignored anyway
|
-d, --no-download-errors ignore download errors, 404 error is ignored anyway
|
||||||
-e, --retry-external [times] number of retries on external site error
|
-e, --retry-external [times] number of retries on external site error
|
||||||
--user-agent [firefox or string] set user agent
|
--user-agent [firefox or string] set user agent
|
||||||
-p, --url-replace [parrern|replacement,...] URL replacements
|
-p, --url-replace [pattern|replacement,...] URL replacements
|
||||||
|
-b, --url-blacklist [pattern|...] blacklisted URLs
|
||||||
-h, --help output usage information
|
-h, --help output usage information
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user