[exhentai] update 'limits' check (#1487)

Only use 'limits' to set a custom upper bound.
Checking if the actual maximum gets exceeded is not necessary.
This commit is contained in:
Mike Fährmann
2021-04-22 22:41:14 +02:00
parent 141ca4ac0a
commit 9514cb8c12
2 changed files with 31 additions and 43 deletions

View File

@@ -923,15 +923,12 @@ Description
extractor.exhentai.limits
-------------------------
Type
``bool`` or ``integer``
``integer``
Default
``true``
``null``
Description
Check image download limits
and stop extraction when they are exceeded.
If this value is an ``integer``, it gets used as the limit maximum
instead of the value listed on ``https://e-hentai.org/home.php``
Sets a custom image download limit and
stops extraction when it gets exceeded.
extractor.exhentai.domain