浏览代码

视频号抓取任务

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

+ 1 - 0
tasks/crawler_channel_account_videos.py

@@ -71,6 +71,7 @@ class CrawlerChannelAccountVideos:
         video_item.add("out_account_id", video["username"])
         video_item.add("out_account_id", video["username"])
         video_item.add("out_account_name", video["nickname"])
         video_item.add("out_account_name", video["nickname"])
         video_item.add("publish_timestamp", video["createtime"])
         video_item.add("publish_timestamp", video["createtime"])
+        video_item.add("platform", 'sph')
         media = object_desc["media"][0]
         media = object_desc["media"][0]
         url = media["Url"]
         url = media["Url"]
         decode_key = media["decodeKey"]
         decode_key = media["decodeKey"]