Explorar o código

Merge branch 'zhangyongbak' of Server/piaoquan_crawler into master

zhangyong hai 1 ano
pai
achega
1aa1b1208f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      zhufushenghuo/zhufushenghuo_recommend/zfsh_recommend.py

+ 1 - 1
zhufushenghuo/zhufushenghuo_recommend/zfsh_recommend.py

@@ -133,7 +133,7 @@ class ZfshRecommend:
                                 "publish_time_str": publish_time_str,
                                 "publish_time_str": publish_time_str,
                                 "is_video": int(feeds[i].get("is_video", 0)),  # 类型
                                 "is_video": int(feeds[i].get("is_video", 0)),  # 类型
                                 "category_id": int(feeds[i].get("category_id", 0)),  # 视频来源(精彩推荐)
                                 "category_id": int(feeds[i].get("category_id", 0)),  # 视频来源(精彩推荐)
-                                "image_path": feeds[i].get("image_path", ""),  # 视频封面
+                                "cover_url": feeds[i].get("image_path", ""),  # 视频封面
                                 "video_url": video_url,  # 视频链接
                                 "video_url": video_url,  # 视频链接
                                 "click": int(feeds[i].get("click", 0)),  # 点击数
                                 "click": int(feeds[i].get("click", 0)),  # 点击数
                                 "video_width": int(feeds[i].get("vw", 0)),
                                 "video_width": int(feeds[i].get("vw", 0)),