[schalenetwork] fix extraction (#6948 #7391 #7728)

- remove 'cbz' option
- require 'crt' query parameter token as well as a matching User-Agent
This commit is contained in:
Mike Fährmann
2025-09-16 22:10:53 +02:00
parent a0b3e08f64
commit 1b9e1ff9ff
4 changed files with 125 additions and 87 deletions

View File

@@ -3586,17 +3586,26 @@ Description
the first in the list gets chosen (usually `mp3`).
extractor.schalenetwork.cbz
extractor.schalenetwork.crt
---------------------------
Type
``bool``
Default
``true``
``string``
Example
* ``"0542daa9-352c-4fd5-a497-6c6d5cf07423"``
* ``"/12345/a1b2c3d4e5f6?crt=0542daa9-352c-4fd5-a497-6c6d5cf07423"``
Description
Download each gallery as a single ``.cbz`` file.
The ``crt`` query parameter value
sent when fetching gallery data.
Disabling this option causes a gallery
to be downloaded as individual image files.
To get this value:
* Open your browser's Developer Tools (F12)
* Select `Network` -> `XHR`
* Open a gallery page
* Select the last `Network` entry and copy its ``crt`` value
Note: You will also need your browser's
`user-agent <extractor.*.user-agent_>`__
extractor.schalenetwork.format
@@ -3627,6 +3636,20 @@ Description
for example ``tags_artist`` or ``tags_character``.
extractor.schalenetwork.token
-----------------------------
Type
``string``
Example
* ``"3f1a9b72-4e4d-4f4e-9e5d-4a2b99f7c893"``
* ``"Bearer 3f1a9b72-4e4d-4f4e-9e5d-4a2b99f7c893"``
* ``"Authorization: Bearer 3f1a9b72-4e4d-4f4e-9e5d-4a2b99f7c893"``
Description
``Authorization`` header value
used for requests to ``https://api.schale.network``
to access ``favorite`` galleries.
extractor.lolisafe.domain
-------------------------
Type

View File

@@ -680,11 +680,10 @@
},
"schalenetwork":
{
"username": "",
"password": "",
"crt" : "",
"token": "",
"sleep-request": "0.5-1.5",
"cbz" : true,
"format": ["0", "1600", "1280", "980", "780"],
"tags" : false
},