Project Gutemberg ZIM 离线使用的创建者
项目描述
下载 [Project Gutenberg] ( http://www.gutenberg.org )的整个存储库并将其放入本地可浏览目录,然后放入 ZIM 文件 ( http://www.openzim.org ) 的刮板,一个干净且用户友好的格式,用于存储内容以供离线使用。
依赖项
Ubuntu/debian
python-pip python-dev libxml2-dev libxslt-dev advancecomp jpegoptim pngquant p7zip-full gifsicle
苹果系统
brew install advancecomp jpegoptim pngquant p7zip gifsicle
用法
gutenberg2zim
默认情况下(无参数),它运行所有步骤:下载、解析、导出和 zim。
-h --help Display this help message
-y --wipe-db Do not wipe the DB during parse stage
-F --force Redo step even if target already exist
-l --languages=<list> Comma-separated list of lang codes to filter export to (preferably ISO 639-1, else ISO 639-3)
-f --formats=<list> Comma-separated list of formats to filter export to (epub, html, pdf, all)
-m --mirror=<url> Use URL as base for all downloads.
-r --rdf-folder=<folder> Don't download rdf-files.tar.bz2 and use extracted folder instead
-e --static-folder=<folder> Use-as/Write-to this folder static HTML
-z --zim-file=<file> Write ZIM into this file path
-t --zim-title=<title> Set ZIM title
-n --zim-desc=<description> Set ZIM description
-d --dl-folder=<folder> Folder to use/write-to downloaded ebooks
-u --rdf-url=<url> Alternative rdf-files.tar.bz2 URL
-b --books=<ids> Execute the processes for specific books, separated by commas, or dashes for intervals
-c --concurrency=<nb> Number of concurrent process for download and parsing tasks
-x --zim-title=<title> Custom title for the ZIM file
-q --zim-desc=<desc> Custom description for the ZIM file
--check Check dependencies
--prepare Download & extract rdf-files.tar.bz2
--parse Parse all RDF files and fill-up the DB
--download Download ebooks based on filters
--export Export downloaded content to zim-friendly static HTML
--dev Exports *just* Home+JS+CSS files (overwritten by --zim step)
--zim Create a ZIM file
项目详情
下载文件
下载适用于您平台的文件。如果您不确定要选择哪个,请了解有关安装包的更多信息。
源分布
gutenberg2zim-1.1.9.tar.gz
(1.5 MB
查看哈希)
内置分布
gutenberg2zim-1.1.9-py3-none-any.whl
(1.6 MB
查看哈希)
关
gutenberg2zim -1.1.9.tar.gz 的哈希值
| 算法 | 哈希摘要 | |
|---|---|---|
| SHA256 | 741e4d0afc928e4acc383e97cbddca5819ea7e1686584997efb932b1c3f22c99 |
|
| MD5 | 699f1e6db227031bbe5594743e576f6d |
|
| 布莱克2-256 | 9e7f6085a31f161df145c433302866028e39a4e9281b3e3c85e1382125002567 |
关
gutenberg2zim -1.1.9-py3-none-any.whl 的哈希值
| 算法 | 哈希摘要 | |
|---|---|---|
| SHA256 | 3d64307ffe3951d0aad77830d811ab4dbd1a59fc703932c53d7b7cb86aedb13b |
|
| MD5 | a4f616f9c41389f3dbfe701c246f2c54 |
|
| 布莱克2-256 | 4aa67f0490266373f2b5f064e2bdcfd2a41cf6e9a284393d76334c51d8a4aa43 |