|
@@ -248,7 +248,7 @@ public class EtlServiceImpl implements EtlService {
|
|
|
if (!Strings.isNullOrEmpty(audioUrl)) {
|
|
|
String auditPath = urlDownload(data.getAudioUrl(), "longvideo/crawler_local/audit", title);
|
|
|
VideoUtils.videoCompose(ffmpegPath, downloadPath + File.separator + videoPath,
|
|
|
- downloadPath + File.separator + auditPath, videoPath + "_comp");
|
|
|
+ downloadPath + File.separator + auditPath, downloadPath + File.separator + videoPath + "_comp");
|
|
|
// 清理未合成音频的视频文件
|
|
|
Files.deleteIfExists(Paths.get(new File(downloadPath + File.separator + videoPath).getPath()));
|
|
|
videoPath += "_comp";
|
|
@@ -302,7 +302,7 @@ public class EtlServiceImpl implements EtlService {
|
|
|
// 下载文件
|
|
|
int retry = 0;
|
|
|
boolean downloadFlag = false;
|
|
|
- while (retry < 3) {
|
|
|
+ while (retry < 1) {
|
|
|
retry++;
|
|
|
downloadFlag = FileUtils.download(fileUrl, localFilePath + File.separator + titleMmd5);
|
|
|
if (downloadFlag) {
|