add 'filesize-min' and 'filesize-max' options (closes #780)

This commit is contained in:
Mike Fährmann
2020-09-01 22:05:17 +02:00
parent 7876a03ece
commit ac3036ef56
6 changed files with 74 additions and 1 deletions

View File

@@ -1397,6 +1397,21 @@ Description Enable/Disable this downloader module.
=========== =====
downloader.*.filesize-min & .filesize-max
-----------------------------------------
=========== =====
Type ``string``
Default ``null``
Example ``"32000"``, ``"500k"``, ``"2.5M"``
Description Minimum/Maximum allowed file size in bytes.
Any file smaller/larger than this limit will not be downloaded.
Possible values are valid integer or floating-point numbers
optionally followed by one of ``k``, ``m``. ``g``, ``t`` or ``p``.
These suffixes are case-insensitive.
=========== =====
downloader.*.mtime
------------------
=========== =====