[danbooru:pool] download posts in pool order (#7091)

- add 'order-posts' option
- add 'num' metadata field for pool position
- update default filenames to order by pool position
This commit is contained in:
Mike Fährmann
2025-03-03 14:55:02 +01:00
parent c567bf12e6
commit f232a07faf
4 changed files with 139 additions and 4 deletions

View File

@@ -1829,6 +1829,25 @@ Description
follow the ``source`` and download from there if possible.
extractor.[Danbooru].pool.order-posts
-------------------------------------
Type
``string``
Default
``"pool"``
Description
Controls the order in which pool posts are returned.
``"pool"`` | ``"pool_asc"`` | ``"asc"`` | ``"asc_pool"``
Pool order
``"pool_desc"`` | ``"desc_pool"`` | ``"desc"``
Reverse Pool order
``"id"`` | ``"id_desc"`` | ``"desc_id"``
Descending Post ID order
``"id_asc"`` | ``"asc_id"``
Ascending Post ID order
extractor.[Danbooru].ugoira
---------------------------
Type

View File

@@ -769,7 +769,11 @@
"external" : false,
"metadata" : false,
"threshold": "auto",
"ugoira" : false
"ugoira" : false,
"pool": {
"order-posts": "pool"
}
},
"danbooru":
{