|  | @@ -114,6 +114,7 @@ public class CrawlerVideoServiceImpl {
 | 
	
		
			
				|  |  |              return true;
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          boolean pushRes = pushOss(matchVideo.getContentId());
 | 
	
		
			
				|  |  | +        log.info("uploadCrawlerVideo pushRes={} contentId={}", pushRes, matchVideo.getContentId());
 | 
	
		
			
				|  |  |          if (pushRes) {
 | 
	
		
			
				|  |  |              AuditContentRequest auditContentRequest = new AuditContentRequest();
 | 
	
		
			
				|  |  |              auditContentRequest.setContentId(matchVideo.getContentId());
 | 
	
	
		
			
				|  | @@ -302,6 +303,7 @@ public class CrawlerVideoServiceImpl {
 | 
	
		
			
				|  |  |                  String videoOssPath = OSSUploader.uploadToOSS(videoPath, "video");
 | 
	
		
			
				|  |  |                  int uploadOssCount = 0;
 | 
	
		
			
				|  |  |                  while (StringUtils.isEmpty(videoOssPath) && uploadOssCount < 3) {
 | 
	
		
			
				|  |  | +                    log.info("OSSUploader.uploadToOSS videoPath={}", videoPath);
 | 
	
		
			
				|  |  |                      videoOssPath = OSSUploader.uploadToOSS(videoPath, "video");
 | 
	
		
			
				|  |  |                      uploadOssCount++;
 | 
	
		
			
				|  |  |                  }
 | 
	
	
		
			
				|  | @@ -317,8 +319,12 @@ public class CrawlerVideoServiceImpl {
 | 
	
		
			
				|  |  |                      crawlerVideoMapper.updateByPrimaryKeySelective(udpateCrawlerVideo);
 | 
	
		
			
				|  |  |                      count++;
 | 
	
		
			
				|  |  |                      try {
 | 
	
		
			
				|  |  | -                        Files.delete(Paths.get(videoPath));
 | 
	
		
			
				|  |  | -                        Files.delete(Paths.get(coverPath));
 | 
	
		
			
				|  |  | +                        if (StringUtils.isNotEmpty(videoOssPath)) {
 | 
	
		
			
				|  |  | +                            Files.delete(Paths.get(videoPath));
 | 
	
		
			
				|  |  | +                        }
 | 
	
		
			
				|  |  | +                        if (StringUtils.isNotEmpty(coverPath)) {
 | 
	
		
			
				|  |  | +                            Files.delete(Paths.get(coverPath));
 | 
	
		
			
				|  |  | +                        }
 | 
	
		
			
				|  |  |                      } catch (Exception e) {
 | 
	
		
			
				|  |  |                          log.error("pushOss del file error", e);
 | 
	
		
			
				|  |  |                      }
 |