|
@@ -301,6 +301,7 @@ public class CrawlerVideoServiceImpl {
|
|
|
String coverPath = VideoDownloader.downloadCover(outVideoId, platform, crawlerVideo.getCoverUrl());
|
|
|
if (StringUtils.isNotEmpty(videoPath)) {
|
|
|
String videoOssPath = OSSUploader.uploadToOSS(videoPath, "video");
|
|
|
+ log.info("OSSUploader.uploadToOSS videoPath={}", videoPath);
|
|
|
int uploadOssCount = 0;
|
|
|
while (StringUtils.isEmpty(videoOssPath) && uploadOssCount < 3) {
|
|
|
log.info("OSSUploader.uploadToOSS videoPath={}", videoPath);
|