mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-03-20 03:57:30 +08:00
add async apis
This commit is contained in:
@@ -486,8 +486,8 @@ class DoubanModule(_ModuleBase):
|
||||
return __douban_movie() or __douban_tv()
|
||||
|
||||
@rate_limit_exponential(source="douban_info")
|
||||
async def async_douban_info(self, doubanid: str, mtype: MediaType = None, raise_exception: bool = True) -> Optional[
|
||||
dict]:
|
||||
async def async_douban_info(self, doubanid: str, mtype: MediaType = None,
|
||||
raise_exception: bool = True) -> Optional[dict]:
|
||||
"""
|
||||
获取豆瓣信息(异步版本)
|
||||
:param doubanid: 豆瓣ID
|
||||
|
||||
Reference in New Issue
Block a user