| 
					
				 | 
			
			
				@@ -431,6 +431,8 @@ class HourList: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         v_upload_time = Feishu.get_range_value( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             "logs", "xiaoniangao", "ba0da4", "J" + str(i) + ":" + "J" + str(i))[0] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         Common.logger().info("视频详情,video_send_time:{},{}", v_upload_time, type(v_upload_time)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        # 抓取时间的时间戳格式(秒为单位) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        v_time = int(time.mktime(time.strptime(v_upload_time, "%Y-%m-%d %H:%M:%S"))) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         # 抓取时间:日期 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         upload_data = v_upload_time.split(" ")[0] 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -495,7 +497,10 @@ class HourList: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             Common.logger().info("视频详情,当前播放量:{}", hour_play_cnt) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             # 固定时间获取符合规则的视频,写入云文档:https://w42nne6hzg.feishu.cn/sheets/shtcngRPoDYAi24x52j2nDuHMih?sheet=ba0da4 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             update_hour = datetime.datetime.now() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            if upload_data == today and update_hour.hour == 10 and int(upload_hour) <= 10: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            if int(time.time()) - v_time >= 259200: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                Common.logger().info("抓取时间超过 3 天") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                return 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            elif upload_data == today and update_hour.hour == 10 and int(upload_hour) <= 10: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 Common.logger().info("满足条件: 抓取日期为今天 and 当前时间:10点 and 抓取时间<=10点") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 # 当天 10:00 视频播放量 
			 |