fix actions

This commit is contained in:
jxxghp
2025-02-28 11:15:24 +08:00
parent f8ed16666c
commit cf62ad5e8e
14 changed files with 174 additions and 131 deletions
+6 -3
View File
@@ -30,16 +30,19 @@ class FetchTorrentsAction(BaseAction):
super().__init__()
self.searchchain = SearchChain()
@classmethod
@property
def name(self) -> str:
def name(cls) -> str:
return "搜索站点资源"
@classmethod
@property
def description(self) -> str:
def description(cls) -> str:
return "根据关键字搜索站点种子资源"
@classmethod
@property
def data(self) -> dict:
def data(cls) -> dict:
return FetchTorrentsParams().dict()
@property