Browse Source

增加抓取来源标识

wangkun 3 years ago
parent
commit
88acd29f04
1 changed files with 2 additions and 0 deletions
  1. 2 0
      main/download_kuaishou.py

+ 2 - 0
main/download_kuaishou.py

@@ -287,6 +287,7 @@ class KuaiShou:
                     get_feeds_time = int(time.time())
                     # 看一看云文档,工作表 kanyikan_feeds_1 中写入数据
                     values = [[str(time.strftime("%Y/%m/%d %H:%M:%S", time.localtime(get_feeds_time))),
+                               "推荐榜",
                                photo_id,
                                video_title,
                                video_play_cnt,
@@ -405,6 +406,7 @@ class KuaiShou:
                             # 视频ID工作表,首行写入数据
                             upload_time = int(time.time())
                             values = [[str(time.strftime("%Y/%m/%d %H:%M:%S", time.localtime(upload_time))),
+                                       "推荐榜",
                                        str(download_photo_id),
                                        str(download_video_title),
                                        str(download_video_play_cnt),