[sankaku] remove 'id-format' option (#5073 #6808)

This commit is contained in:
Mike Fährmann
2025-06-29 08:28:54 +02:00
parent f2a72d8d1e
commit 22b40fc787
3 changed files with 0 additions and 17 deletions

View File

@@ -4408,19 +4408,6 @@ Description
When more than one format is given, the first available one is selected.
extractor.sankaku.id-format
---------------------------
Type
``string``
Default
``"numeric"``
Description
Format of ``id`` metadata fields.
* ``"alphanumeric"`` or ``"alnum"``: 11-character alphanumeric IDs (``y0abGlDOr2o``)
* ``"numeric"`` or ``"legacy"``: numeric IDs (``360451``)
extractor.sankaku.refresh
-------------------------
Type

View File

@@ -591,7 +591,6 @@
"username": "",
"password": "",
"id-format": "numeric",
"refresh" : false,
"tags" : false
},

View File

@@ -216,9 +216,6 @@ class SankakuAPI():
"Origin" : extractor.root,
}
if extractor.config("id-format") in ("alnum", "alphanumeric"):
self.headers["Api-Version"] = "2"
self.username, self.password = extractor._get_auth_info()
if not self.username:
self.authenticate = util.noop