Metadata-Version: 2.4
Name: doujinshi-dl-nhentai
Version: 1.1.2
Summary: nhentai plugin for doujinshi-dl (https://github.com/RicterZ/doujinshi-dl)
License: MIT
Author: Ricter Z
Author-email: ricterzheng@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Dist: beautifulsoup4 (>=4.11)
Requires-Dist: doujinshi-dl (>=2.0.0)
Requires-Dist: httpx (>=0.23)
Requires-Dist: iso8601 (>=1.0)
Requires-Dist: requests (>=2.28)
Requires-Dist: tabulate (>=0.9)
Project-URL: Homepage, https://github.com/RicterZ/doujinshi-dl-nhentai
Project-URL: Repository, https://github.com/RicterZ/doujinshi-dl-nhentai
Description-Content-Type: text/x-rst

doujinshi-dl-nhentai
====================

nhentai plugin for `doujinshi-dl <https://github.com/RicterZ/doujinshi-dl>`_.

============
Installation
============

.. code-block::

   pip install doujinshi-dl
   pip install doujinshi-dl-nhentai

=====
Usage
=====

Set the mirror URL and run:

.. code-block:: bash

   export DOUJINSHI_DL_URL=https://nhentai.net
   doujinshi-dl --id 123456

Or inline:

.. code-block:: bash

   DOUJINSHI_DL_URL=https://nhentai.net doujinshi-dl --search "keyword" --download

The plugin is auto-discovered by the main package via the ``doujinshi_dl.plugins`` entry point — no extra configuration needed beyond installation.

===========
Development
===========

.. code-block:: bash

   pip install -e /path/to/doujinshi-dl
   pip install -e /path/to/doujinshi-dl-nhentai

=======
Testing
=======

.. code-block:: bash

   export DDL_COOKIE="<cookie>"
   export DDL_UA="<user-agent>"
   export DOUJINSHI_DL_URL="<mirror-url>"

   python -m unittest discover tests/

.. |license| image:: https://img.shields.io/github/license/ricterz/doujinshi-dl.svg
   :target: https://github.com/RicterZ/doujinshi-dl/blob/master/LICENSE

