feat:支持搜索系列合集

This commit is contained in:
jxxghp
2025-01-16 17:51:47 +08:00
parent bd6e43c41d
commit adeb5361ab
9 changed files with 88 additions and 3 deletions
+7
View File
@@ -38,6 +38,13 @@ class TmdbChain(ChainBase, metaclass=Singleton):
"""
return self.run_module("tmdb_trending", page=page)
def tmdb_collection(self, collection_id: int) -> Optional[List[MediaInfo]]:
"""
根据合集ID查询集合
:param collection_id: 合集ID
"""
return self.run_module("tmdb_collection", collection_id=collection_id)
def tmdb_seasons(self, tmdbid: int) -> List[schemas.TmdbSeason]:
"""
根据TMDBID查询themoviedb所有季信息