|
@@ -95,6 +95,7 @@ class WQSPRecommend(object):
|
|
|
trace_id = self.platform + str(uuid.uuid1())
|
|
|
our_user = random.choice(self.user_list)
|
|
|
video_url = self.get_video_url(video_obj["vid"])
|
|
|
+ cover_url = f"https://qiniu.818ao.com/{video_obj['poster']}"
|
|
|
if video_url:
|
|
|
item = VideoItem()
|
|
|
item.add_video_info("video_id", video_obj["vid"])
|
|
@@ -102,7 +103,7 @@ class WQSPRecommend(object):
|
|
|
item.add_video_info("play_cnt", 0)
|
|
|
item.add_video_info("publish_time_stamp", int(time.time()))
|
|
|
item.add_video_info("out_user_id", video_obj["vid"])
|
|
|
- item.add_video_info("cover_url", video_obj["poster"])
|
|
|
+ item.add_video_info("cover_url", cover_url)
|
|
|
item.add_video_info("like_cnt", 0)
|
|
|
item.add_video_info("share_cnt", 0)
|
|
|
item.add_video_info("comment_cnt", 0)
|