feat 推荐新增正在热映

fix 豆瓣搜索API
This commit is contained in:
jxxghp
2023-08-30 08:28:37 +08:00
parent b9b8b86019
commit 85a581f0cd
3 changed files with 18 additions and 1 deletions

View File

@ -446,6 +446,8 @@ class MediaInfo:
self.poster_path = info.get("pic", {}).get("large")
if not self.poster_path and info.get("cover_url"):
self.poster_path = info.get("cover_url")
if not self.poster_path and info.get("cover"):
self.poster_path = info.get("cover").get("url")
# 简介
if not self.overview:
self.overview = info.get("intro") or info.get("card_subtitle") or ""