[batoto] add 'domain' option (#7174)

allow legacy domains by default
This commit is contained in:
Mike Fährmann
2025-03-14 09:10:58 +01:00
parent f395a3ec79
commit 22d46f2462
4 changed files with 52 additions and 12 deletions

View File

@@ -1459,6 +1459,29 @@ Description
* ``false``: Get posts from "Latest Updates" pages
extractor.batoto.domain
-----------------------
Type
``string``
Default
``"auto"``
Example
``"mangatoto.org"``
Description
Specifies the domain used by ``batoto`` extractors.
``"auto"`` | ``"url"``
Use the input URL's domain
``"nolegacy"``
Use the input URL's domain
- replace legacy domains with ``"xbato.org"``
``"nowarn"``
Use the input URL's domain
- do not warn about legacy domains
any ``string``
Use this domain
extractor.bbc.width
-------------------
Type

View File

@@ -117,6 +117,10 @@
"recursive": true
},
"batoto":
{
"domain": "auto"
},
"bbc":
{
"width": 1920