|
@@ -21,23 +21,23 @@ class Bot:
|
|
|
sheet = Feishu.get_values_batch(log_type, "xiaoniangao", "yatRv2")
|
|
|
# 已下载表,最新一条视频抓取时间
|
|
|
first_download_time = sheet[1][5]
|
|
|
- first_download_time = int(time.mktime(time.strptime(first_download_time, "%Y/%m/%d %H:%M:%S")))
|
|
|
+ first_download_time = int(time.mktime(time.strptime(first_download_time, "%Y-%m-%d %H:%M:%S")))
|
|
|
elif crawler == "xiaoniangao_person":
|
|
|
sheet = Feishu.get_values_batch(log_type, "xiaoniangao", "Wu0CeL")
|
|
|
# 已下载表,最新一条视频抓取时间
|
|
|
first_download_time = sheet[1][5]
|
|
|
- first_download_time = int(time.mktime(time.strptime(first_download_time, "%Y/%m/%d %H:%M:%S")))
|
|
|
+ first_download_time = int(time.mktime(time.strptime(first_download_time, "%Y-%m-%d %H:%M:%S")))
|
|
|
elif crawler == "xiaoniangao_play":
|
|
|
sheet = Feishu.get_values_batch(log_type, "xiaoniangao", "c85k1C")
|
|
|
# 已下载表,最新一条视频抓取时间
|
|
|
first_download_time = sheet[1][5]
|
|
|
- first_download_time = int(time.mktime(time.strptime(first_download_time, "%Y/%m/%d %H:%M:%S")))
|
|
|
+ first_download_time = int(time.mktime(time.strptime(first_download_time, "%Y-%m-%d %H:%M:%S")))
|
|
|
|
|
|
elif crawler == 'xigua_video':
|
|
|
sheet = Feishu.get_values_batch(log_type, "xigua", "e075e9")
|
|
|
# 已下载表,最新一条视频抓取时间
|
|
|
first_download_time = sheet[1][5]
|
|
|
- first_download_time = int(time.mktime(time.strptime(first_download_time, "%Y/%m/%d %H:%M:%S")))
|
|
|
+ first_download_time = int(time.mktime(time.strptime(first_download_time, "%Y-%m-%d %H:%M:%S")))
|
|
|
elif crawler == 'xigua_little_video':
|
|
|
sheet = Feishu.get_values_batch(log_type, "xigua", "hDSDnv")
|
|
|
# 已下载表,最新一条视频抓取时间
|
|
@@ -396,8 +396,8 @@ class Bot:
|
|
|
# Common.logger("bot").info("监控吉祥幸福已下载表")
|
|
|
# Bot.robot_download_sheet("bot", "jxxf", duration)
|
|
|
|
|
|
- Common.logger("bot").info("监控岁岁年年迎福气已下载表")
|
|
|
- Bot.robot_download_sheet("bot", "ssnnyfq", duration)
|
|
|
+ # Common.logger("bot").info("监控岁岁年年迎福气已下载表")
|
|
|
+ # Bot.robot_download_sheet("bot", "ssnnyfq", duration)
|
|
|
|
|
|
# Common.logger("bot").info("监控看到就是福气已下载表")
|
|
|
# Bot.robot_download_sheet("bot", "kdjsfq", duration)
|