Files
nhentai/pyproject.toml
Ricter Zheng 1131df0b94 feat: migrate to API token auth, remove legacy parser
- Add --token parameter (takes priority over --cookie)
- Deprecate --cookie and --useragent with warning messages
- Remove --legacy flag and legacy HTML search parser
- Migrate --artist search to use v2 API query syntax (artist:slug)
- Bump version to 2.0.6

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-02 18:18:48 +08:00

30 lines
695 B
TOML

[tool.poetry]
name = "doujinshi-dl"
version = "2.0.6"
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'