Skip to content

Commit b6df4c6

Browse files
committed
v0.0.7
1 parent bcba9d7 commit b6df4c6

File tree

9 files changed

+22
-9
lines changed

9 files changed

+22
-9
lines changed

comiclib/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "0.0.6"
1+
__version__ = "0.0.7"
22
print(f" >>> ComicLib v{__version__}")
33

44
from .scan import watch, scannow

comiclib/scanner/24-ehentai_bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
logger = logging.getLogger(__name__)
88

99
class Scanner:
10-
'''For https://github.com/z-mio/ehentai_bot, with <gid>.json put into the zip archive.'''
10+
'''For https://github.com/z-mio/ehentai_bot and https://github.com/mhdy2233/tg-eh-distributed-arc-bot, with <gid>.json put into the zip archive.'''
1111

1212
def scan(self, path: Path, id: str, metadata: dict, prev_scanners: list[str]) -> bool:
1313
if not '10-zip' in prev_scanners or '20-ccloli' in prev_scanners:

docs/en/docs/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ pip install -U "comiclib[full] @ git+https://github.com/comiclib/comiclib.git"
3737
### Docker (Experimental)
3838

3939
!!! tip inline end "Minimal installation"
40-
Image with tag `v0.0.6` (without `-full` suffix) does not ship the ehentai metadata database, therefore its size is much smaller. You can download the ehentai metadata database to `/userdata` if you need it.
40+
Image with tag `v0.0.7` (without `-full` suffix) does not ship the ehentai metadata database, therefore its size is much smaller. You can download the ehentai metadata database to `/userdata` if you need it.
4141

4242
``` bash
4343
docker run -p 8000:8000 \
4444
--mount type=bind,source=<YOUR_COMIC_DIRECTORY_HERE>,target=/root/comiclib \
4545
--mount type=bind,source=<USER_DATA_PATH>,target=/userdata \
46-
ghcr.io/comiclib/comiclib:v0.0.6-full
46+
ghcr.io/comiclib/comiclib:v0.0.7-full
4747
```
4848
ComicLib now runs at http://localhost:8000 .
4949

docs/en/docs/scanner.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ Parse comic folders downloaded via [EhViewer](https://github.com/seven332/EhView
3636

3737
Parse comic files downloaded via [xeHentai](https://github.com/fffonion/xeHentai).
3838

39+
### 24-ehentai_bot.py
40+
41+
Parse comic files downloaded via [EHentai Telegram bot](https://github.com/z-mio/ehentai_bot) or [分布式tg eh归档bot](https://github.com/mhdy2233/tg-eh-distributed-arc-bot).
42+
The metadata file `<gid>.json` needs to be put into the zip archive.
43+
3944
### 30-importEHdb.py
4045

4146
Import the corresponding metadata from [ehentai metadata database](https://sukebei.nyaa.si/user/gipaf23445).

docs/en/docs/supported-formats.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
| rar, 7z [^1] | general | 11-archive.py |
77
| zip | [ccloli/E-Hentai-Downloader](https://github.com/ccloli/E-Hentai-Downloader) | 20-ccloli.py |
88
| zip | [xeHentai](https://github.com/fffonion/xeHentai) | 23-xeHentai.py |
9+
| zip [^2] | [EHentai Telegram bot](https://github.com/z-mio/ehentai_bot) or [分布式tg eh归档bot](https://github.com/mhdy2233/tg-eh-distributed-arc-bot) | 24-ehentai_bot.py |
910
| folder | [Hentai@Home](https://ehwiki.org/wiki/Hentai@Home#H.40H_Downloader) | 21-hath.py |
1011
| folder | [EhViewer](https://github.com/seven332/EhViewer) | 22-ehviewer.py |
1112

12-
[^1]: They require 7-Zip, download it from [https://7-zip.org/download.html](https://7-zip.org/download.html) and make sure 7zzs or 7zz or 7z is in the working directory or the directory indicated by PATH. 7-Zip obtained from some other sources may not support rar files.
13+
[^1]: They require 7-Zip, download it from [https://7-zip.org/download.html](https://7-zip.org/download.html) and make sure 7zzs or 7zz or 7z is in the working directory or the directory indicated by PATH. 7-Zip obtained from some other sources may not support rar files.
14+
[^2] The metadata file `<gid>.json` needs to be put into the zip archive.

docs/zh/docs/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ pip install -U "comiclib[full] @ git+https://github.com/comiclib/comiclib.git"
3737
### Docker(试验性)
3838

3939
!!! tip inline end "最小安装"
40-
使用 tag `v0.0.6`(没有`-full`后缀)的镜像不自带 ehentai 元数据库,其大小会小很多。可手动下载 ehentai 元数据库并将其放在 `/userdata` 下。
40+
使用 tag `v0.0.7`(没有`-full`后缀)的镜像不自带 ehentai 元数据库,其大小会小很多。可手动下载 ehentai 元数据库并将其放在 `/userdata` 下。
4141

4242
``` bash
4343
docker run -p 8000:8000 \
4444
--mount type=bind,source=你的漫画库路径,target=/root/comiclib \
4545
--mount type=bind,source=将要存放数据的路径,target=/userdata \
46-
ghcr.io/comiclib/comiclib:v0.0.6-full
46+
ghcr.io/comiclib/comiclib:v0.0.7-full
4747
```
4848

4949
现在 ComicLib 运行在了 http://localhost:8000

docs/zh/docs/scanner.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@
3535

3636
解析通过 [xeHentai](https://github.com/fffonion/xeHentai) 下载的漫画文件。
3737

38+
### 24-ehentai_bot.py
39+
40+
解析通过 [EHentai Telegram bot](https://github.com/z-mio/ehentai_bot)[分布式tg eh归档bot](https://github.com/mhdy2233/tg-eh-distributed-arc-bot) 下载的漫画文件,需要将元数据文件 `<gid>.json` 放进 zip 存档中。
41+
3842
### 30-importEHdb.py
3943

4044
[ehentai 元数据库](https://sukebei.nyaa.si/user/gipaf23445)导入相应的元数据。

docs/zh/docs/supported-formats.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
| rar, 7z [^1] | 一般 | 11-archive.py |
77
| zip | [ccloli/E-Hentai-Downloader](https://github.com/ccloli/E-Hentai-Downloader) | 20-ccloli.py |
88
| zip | [xeHentai](https://github.com/fffonion/xeHentai) | 23-xeHentai.py |
9+
| zip [^2] | [EHentai Telegram bot](https://github.com/z-mio/ehentai_bot)[分布式tg eh归档bot](https://github.com/mhdy2233/tg-eh-distributed-arc-bot) | 24-ehentai_bot.py |
910
| 文件夹 | [Hentai@Home](https://ehwiki.org/wiki/Hentai@Home#H.40H_Downloader) | 21-hath.py |
1011
| 文件夹 | [EhViewer](https://github.com/seven332/EhViewer) | 22-ehviewer.py |
1112

12-
[^1]: 需要安装 7-Zip,请从 [https://7-zip.org/download.html](https://7-zip.org/download.html) 下载并确保 7zzs 或 7zz 或 7z 处在工作目录或 PATH 指示的目录内。从其他一些渠道获取的 7-Zip 可能不支持 rar 文件。
13+
[^1]: 需要安装 7-Zip,请从 [https://7-zip.org/download.html](https://7-zip.org/download.html) 下载并确保 7zzs 或 7zz 或 7z 处在工作目录或 PATH 指示的目录内。从其他一些渠道获取的 7-Zip 可能不支持 rar 文件。
14+
[^2] 需要将元数据文件 `<gid>.json` 放进 zip 存档中。

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "comiclib"
7-
version = "0.0.6"
7+
version = "0.0.7"
88
authors = [
99
{ name="URenko" },
1010
]

0 commit comments

Comments
 (0)