|
@@ -120,6 +120,7 @@ class GetUrl:
|
|
Feishu.update_values(log_type, 'shipinhao', 'FSDlBy', 'J2:L2',
|
|
Feishu.update_values(log_type, 'shipinhao', 'FSDlBy', 'J2:L2',
|
|
[['https://'+urls[2], 'https://'+urls[1], 'https://'+urls[0]]])
|
|
[['https://'+urls[2], 'https://'+urls[1], 'https://'+urls[0]]])
|
|
Common.logger(log_type).info('视频地址信息写入飞书成功\n')
|
|
Common.logger(log_type).info('视频地址信息写入飞书成功\n')
|
|
|
|
+ Common.del_charles_files('recommend')
|
|
break
|
|
break
|
|
else:
|
|
else:
|
|
Common.logger(log_type).info('视频已有地址信息,休眠 10s')
|
|
Common.logger(log_type).info('视频已有地址信息,休眠 10s')
|
|
@@ -149,5 +150,4 @@ if __name__ == '__main__':
|
|
# print(len(Feishu.get_values_batch('recommend', 'shipinhao', 'FSDlBy')))
|
|
# print(len(Feishu.get_values_batch('recommend', 'shipinhao', 'FSDlBy')))
|
|
while True:
|
|
while True:
|
|
GetUrl.run_get_url('recommend')
|
|
GetUrl.run_get_url('recommend')
|
|
- Common.del_charles_files('recommend')
|
|
|
|
- time.sleep(3)
|
|
|
|
|
|
+ time.sleep(1)
|