[sankaku] implement support for new 'tags' categories (#7333 #7553)

This commit is contained in:
Mike Fährmann
2025-05-22 08:17:45 +02:00
parent b8f3ca6c4e
commit 7b5dd61e17
3 changed files with 98 additions and 3 deletions

View File

@@ -3863,7 +3863,7 @@ Description
extractor.pixeldrain.recursive
--------------------------
------------------------------
Type
``bool``
Default
@@ -4317,6 +4317,39 @@ Description
Refresh download URLs before they expire.
extractor.sankaku.tags
----------------------
Type
* ``bool``
* ``string``
Default
``false``
Description
| Group ``tags`` by type and
provide them as ``tags_TYPE`` and ``tag_string_TYPE`` metadata fields,
| for example ``tags_artist`` and ``tags_character``.
``true``
Enable general ``tags`` categories
Requires:
* 1 additional API request per 100 tags per post
``"extended"``
Group ``tags`` by the new, extended tag category system
used on ``chan.sankakucomplex.com``
Requires:
* 1 additional HTTP request per post
* logged-in `cookies <extractor.*.cookies_>`__
to fetch full ``tags`` category data
``false``
Disable ``tags`` categories
extractor.sankakucomplex.embeds
-------------------------------
Type