[kemonoparty] add 'endpoint' option (#7438)

This commit is contained in:
Mike Fährmann
2025-04-28 16:47:48 +02:00
parent f6330bf16d
commit 16b5d41ce5
4 changed files with 88 additions and 9 deletions

View File

@@ -3107,12 +3107,32 @@ Description
Extract a user's announcements as ``announcements`` metadata.
extractor.kemonoparty.endpoint
------------------------------
Type
``string``
Default
``"legacy"``
Description
API endpoint to use for retrieving creator posts.
``"legacy"``
| Use the results from
`/v1/{service}/user/{creator_id}/posts-legacy <https://kemono.su/documentation/api#operations-default-get_v1__service__user__creator_id__posts_legacy>`__
| Provides less metadata, but is more reliable at returning all posts.
| Supports filtering results by ``tag`` query parameter.
``"posts"``
| Use the results from
`/v1/{service}/user/{creator_id} <https://kemono.su/documentation/api#operations-Posts-get_v1__service__user__creator_id_>`__
| Provides more metadata, but might not return a creator's first/last posts.
extractor.kemonoparty.favorites
-------------------------------
Type
``string``
Default
``artist``
``"artist"``
Description
Determines the type of favorites to be downloaded.

View File

@@ -379,6 +379,7 @@
"comments" : false,
"dms" : false,
"duplicates" : false,
"endpoint" : "legacy",
"favorites" : "artist",
"files" : ["attachments", "file", "inline"],
"max-posts" : null,