kk
This commit is contained in:
@@ -568,6 +568,18 @@ class AllDebrid(TableProviderMixin, Provider):
|
||||
URL = ("magnet:",)
|
||||
URL_DOMAINS = ()
|
||||
|
||||
@classmethod
|
||||
def config(cls) -> List[Dict[str, Any]]:
|
||||
return [
|
||||
{
|
||||
"key": "api_key",
|
||||
"label": "API Key",
|
||||
"default": "",
|
||||
"required": True,
|
||||
"secret": True
|
||||
}
|
||||
]
|
||||
|
||||
@staticmethod
|
||||
def _resolve_magnet_spec_from_result(result: Any) -> Optional[str]:
|
||||
table = getattr(result, "table", None)
|
||||
|
||||
Reference in New Issue
Block a user