@@ -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
|
||||
|
||||
@@ -591,7 +591,6 @@
|
||||
"username": "",
|
||||
"password": "",
|
||||
|
||||
"id-format": "numeric",
|
||||
"refresh" : false,
|
||||
"tags" : false
|
||||
},
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user