zhangyong 1 год назад
Родитель
Сommit
33fdecec69
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      gongzhongxinhao/gongzhongxinhao/gongzhongxinhao_author.py

+ 2 - 2
gongzhongxinhao/gongzhongxinhao/gongzhongxinhao_author.py

@@ -223,7 +223,7 @@ class GZXHAuthor:
         article_url = article.get("url", "")
         video_id = wechat_gh + str(int(date_time_obj.timestamp()))
         cover_url = article.get("head_pic", "")
-        # video_url = self.get_video_url(article_url)
+        video_url = self.get_video_url(article_url)
         video_dict = {
             "user_name": user_name,
             "video_id": video_id,
@@ -241,7 +241,7 @@ class GZXHAuthor:
             "share_cnt": 0,
             "user_id": self.user_dict["uid"],
             "cover_url": cover_url,
-            "video_url": article_url,
+            "video_url": video_url,
             "width": 0,
             "height": 0,
             "duration": 0,