Browse Source

视频号抓取时间戳bugfix

luojunhui 2 months ago
parent
commit
a4329fc8e3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tasks/crawler_channel_account_videos.py

+ 1 - 0
tasks/crawler_channel_account_videos.py

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