Skip to content

Commit

Permalink
U-update 0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyupeng committed Jan 16, 2020
1 parent e88c616 commit b611ee6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/services/ffmpeg/ffmpeg.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export const convertAudioToMP3 = (sourceFilePath, targetFolder, targetFormat, op
ffmpegOption,
{
cwd: targetFileFullPath,
}
},
)

dl.stdout.on('data', (data) => {
Expand Down Expand Up @@ -171,7 +171,7 @@ export const getAudioInfo = (url, targetFolder, options = {}) => {
],
{
cwd: path.join('./', targetFolder),
}
},
)

dl.stdout.on('data', (data) => {
Expand Down
6 changes: 3 additions & 3 deletions src/services/youtube/youtube-dl.js
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down Expand Up @@ -136,7 +136,7 @@ export const downloadVideo = (url, targetFolder, options = {}) => {
],
{
cwd: targetFolder,
}
},
)

dl.stdout.on('data', (data) => {
Expand Down Expand Up @@ -188,7 +188,7 @@ export const getVideoInfo = (url, targetFolder, options = {}) => {
],
{
cwd: targetFolder,
}
},
)

dl.stdout.on('data', (data) => {
Expand Down

0 comments on commit b611ee6

Please sign in to comment.