fix: user update issue, tmdb leak poster issue.

This commit is contained in:
EstrellaXD
2023-09-23 22:32:57 +08:00
parent a54c1066fc
commit 6a73d9ec41
4 changed files with 9 additions and 3 deletions

View File

@@ -76,6 +76,8 @@ def tmdb_parser(title, language) -> TMDBInfo | None:
for s in info_content.get("seasons")
]
last_season, poster_path = get_season(season)
if poster_path is None:
poster_path = info_content.get("poster_path")
original_title = info_content.get("original_name")
official_title = info_content.get("name")
year_number = info_content.get("first_air_date").split("-")[0]