diff --git a/scripts/douban.py b/scripts/douban.py index f002351109..1a960fb85e 100644 --- a/scripts/douban.py +++ b/scripts/douban.py @@ -109,7 +109,11 @@ def fetch_subjects(user, type_, status): print(f"更新{movie.get('电影名')}") print(notion_movive.get("日期") != movie.get("日期")) + print(f"notion 日期{notion_movive.get('日期')}") + print(f"movie 日期{movie.get('日期')}") print(notion_movive.get("短评") != movie.get("短评")) + print(f"notion 短评{notion_movive.get('短评')}") + print(f"movie 短评{movie.get('短评')}") print(notion_movive.get("状态") != movie.get("状态")) print(notion_movive.get("评分") != movie.get("评分")) properties = utils.get_properties(movie, movie_properties_type_dict) @@ -132,7 +136,8 @@ def fetch_subjects(user, type_, status): for x in subject.get("genres") ] if subject.get("actors"): - movie["演员"] = [x.get("name") for x in subject.get("actors")] + print("") + movie["演员"] = [x.get("name") for x in subject.get("actors") if x.get("name")] if subject.get("directors"): movie["导演"] = [ notion_helper.get_relation_id(