From 8f8ad7ccd482fd9f1ef7bcee8b7f26209f0dd204 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sat, 1 Jul 2023 19:31:33 +0800 Subject: [PATCH] fix douban --- app/api/endpoints/douban.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/api/endpoints/douban.py b/app/api/endpoints/douban.py index 3cf92fa3..e53e4dbb 100644 --- a/app/api/endpoints/douban.py +++ b/app/api/endpoints/douban.py @@ -90,7 +90,8 @@ async def douban_tvs(sort: str = "R", return [media.to_dict() for media in medias if media.poster_path and "movie_large.jpg" not in media.poster_path - and "tv_normal.png" not in media.poster_path] + and "tv_normal.jpg" not in media.poster_path + and "tv_large.jpg" not in media.poster_path] @router.get("/movie_top250", summary="豆瓣电影TOP250", response_model=List[schemas.MediaInfo])