mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 07:27:15 +08:00
fix themoviedb api
This commit is contained in:
@@ -14,9 +14,23 @@ class Certification(TMDb):
|
||||
"""
|
||||
return self._request_obj(self._urls["movie_list"], key="certifications")
|
||||
|
||||
async def async_movie_list(self):
|
||||
"""
|
||||
Get an up to date list of the officially supported movie certifications on TMDB.(异步版本)
|
||||
:return:
|
||||
"""
|
||||
return await self._async_request_obj(self._urls["movie_list"], key="certifications")
|
||||
|
||||
def tv_list(self):
|
||||
"""
|
||||
Get an up to date list of the officially supported TV show certifications on TMDB.
|
||||
:return:
|
||||
"""
|
||||
return self._request_obj(self._urls["tv_list"], key="certifications")
|
||||
|
||||
async def async_tv_list(self):
|
||||
"""
|
||||
Get an up to date list of the officially supported TV show certifications on TMDB.(异步版本)
|
||||
:return:
|
||||
"""
|
||||
return await self._async_request_obj(self._urls["tv_list"], key="certifications")
|
||||
|
||||
Reference in New Issue
Block a user