瀏覽代碼

增加抓取来源标识

wangkun 3 年之前
父節點
當前提交
88acd29f04
共有 1 個文件被更改,包括 2 次插入0 次删除
  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),