mirror of
https://github.com/RicterZ/nhentai.git
synced 2026-04-08 10:40:22 +02:00
When check_if_need_download() returns False (CBZ/PDF file already exists), skip all post-processing steps that require doujinshi_dir to be present (serializer, generate_doc, generate_html, rm_origin_dir, etc.), as the directory may have been removed by --rm-origin-dir on a previous run. However, still write to the download history DB unconditionally so that records lost due to DB corruption/reset are recovered on the next run. Fixes #429 Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
30 lines
695 B
TOML
30 lines
695 B
TOML
[tool.poetry]
|
|
name = "doujinshi-dl"
|
|
version = "2.0.8"
|
|
description = "doujinshi downloader"
|
|
authors = ["Ricter Z <ricterzheng@gmail.com>"]
|
|
license = "MIT"
|
|
readme = "README.rst"
|
|
homepage = "https://github.com/RicterZ/doujinshi-dl"
|
|
repository = "https://github.com/RicterZ/doujinshi-dl"
|
|
packages = [{include = "doujinshi_dl"}]
|
|
include = ["doujinshi_dl/viewer/**"]
|
|
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.8"
|
|
requests = ">=2.28"
|
|
soupsieve = ">=2.3"
|
|
beautifulsoup4 = ">=4.11"
|
|
tabulate = ">=0.9"
|
|
iso8601 = ">=1.0"
|
|
httpx = ">=0.23"
|
|
chardet = ">=4.0"
|
|
|
|
[build-system]
|
|
requires = ["poetry-core"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
[tool.poetry.scripts]
|
|
doujinshi-dl = 'doujinshi_dl.command:main'
|