[sizebooru] add support (#7667)

This commit is contained in:
Mike Fährmann
2025-08-24 10:27:19 +02:00
parent aafb53db9a
commit ed3ac5a402
9 changed files with 396 additions and 16 deletions

View File

@@ -436,6 +436,7 @@ Default
``pornpics``,
``schalenetwork``,
``scrolller``,
``sizebooru``,
``soundgasm``,
``urlgalleries``,
``vk``,
@@ -4777,6 +4778,28 @@ Description
Download animated images as ``.gif`` instead of ``.webp``
extractor.sizebooru.metadata
----------------------------
Type
``bool``
Default
``false``
Description
Extract additional metadata:
* ``approver``
* ``artist``
* ``date``
* ``date_approved``
* ``favorite``
* ``source``
* ``tags``
* ``uploader``
* ``views``
Note
This requires 1 additional HTTP request per post.
extractor.skeb.article
----------------------
Type
@@ -8074,20 +8097,21 @@ Default
.. code:: json
{
"coomerparty" : "coomer",
"kemonoparty" : "kemono",
"koharu" : "schalenetwork",
"chzzk" : "naver-chzzk",
"naver" : "naver-blog",
"naverwebtoon": "naver-webtoon",
"pixiv" : "pixiv-novel"
"coomerparty" : "coomer",
"kemonoparty" : "kemono",
"giantessbooru": "sizebooru",
"koharu" : "schalenetwork",
"chzzk" : "naver-chzzk",
"naver" : "naver-blog",
"naverwebtoon" : "naver-webtoon",
"pixiv" : "pixiv-novel"
}
Description
Duplicate the configuration settings of extractor `categories`
to other names.
For example, a ``"naver": "naver-blog"`` key-value pair will make all
``naver`` config settings available for ´´naver-blog´´ extractors as well.
``naver`` config settings available for ``naver-blog`` extractors as well.
jinja.environment

View File

@@ -91,13 +91,14 @@
"category-map": {},
"config-map": {
"coomerparty" : "coomer",
"kemonoparty" : "kemono",
"koharu" : "schalenetwork",
"chzzk" : "naver-chzzk",
"naver" : "naver-blog",
"naverwebtoon": "naver-webtoon",
"pixiv" : "pixiv-novel"
"coomerparty" : "coomer",
"kemonoparty" : "kemono",
"giantessbooru": "sizebooru",
"koharu" : "schalenetwork",
"chzzk" : "naver-chzzk",
"naver" : "naver-blog",
"naverwebtoon" : "naver-webtoon",
"pixiv" : "pixiv-novel"
},
@@ -679,6 +680,12 @@
{
"gifs": true
},
"sizebooru":
{
"sleep-request": "0.5-1.5",
"metadata": false
},
"skeb":
{
"article" : false,

View File

@@ -877,6 +877,12 @@ Consider all listed sites to potentially be NSFW.
<td>Galleries, individual Images, Videos</td>
<td></td>
</tr>
<tr id="sizebooru" title="sizebooru">
<td>Size Booru</td>
<td>https://sizebooru.com/</td>
<td>Favorites, Galleries, Posts, Tag Searches, User Uploads</td>
<td></td>
</tr>
<tr id="skeb" title="skeb">
<td>Skeb</td>
<td>https://skeb.jp/</td>