浏览代码

视频号抓取任务

luojunhui 3 月之前
父节点
当前提交
4aa5fd070c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tasks/crawler_channel_account_videos.py

+ 1 - 1
tasks/crawler_channel_account_videos.py

@@ -90,7 +90,7 @@ class CrawlerChannelAccountVideos:
                 task="crawler_channel_account_videos",
                 function="crawler_each_video",
                 message="video length is too long",
-                data={"video_id": video["id"], "title": title},
+                data={"video_id": video["id"], "title": title, "length": video_length},
             )
             return