diff --git a/src/services/ffmpeg/ffmpeg.js b/src/services/ffmpeg/ffmpeg.js index c8117ea..0b5c488 100644 --- a/src/services/ffmpeg/ffmpeg.js +++ b/src/services/ffmpeg/ffmpeg.js @@ -118,7 +118,7 @@ export const convertAudioToMP3 = (sourceFilePath, targetFolder, targetFormat, op ffmpegOption, { cwd: targetFileFullPath, - } + }, ) dl.stdout.on('data', (data) => { @@ -171,7 +171,7 @@ export const getAudioInfo = (url, targetFolder, options = {}) => { ], { cwd: path.join('./', targetFolder), - } + }, ) dl.stdout.on('data', (data) => { diff --git a/src/services/youtube/youtube-dl.js b/src/services/youtube/youtube-dl.js index 545e7f0..2a23fd6 100644 --- a/src/services/youtube/youtube-dl.js +++ b/src/services/youtube/youtube-dl.js @@ -76,7 +76,7 @@ export const downloadSubtitles = (url, targetFolder = '', { lang = 'enUS', filen ], { cwd: path.join('./', targetFolder), - } + }, ) dl.stderr.on('data', data => { console.log('[dl-sub]:', data.toString()) @@ -136,7 +136,7 @@ export const downloadVideo = (url, targetFolder, options = {}) => { ], { cwd: targetFolder, - } + }, ) dl.stdout.on('data', (data) => { @@ -188,7 +188,7 @@ export const getVideoInfo = (url, targetFolder, options = {}) => { ], { cwd: targetFolder, - } + }, ) dl.stdout.on('data', (data) => {