Skip to content
This repository has been archived by the owner on Nov 17, 2021. It is now read-only.

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
lunnlew committed Oct 8, 2019
1 parent 419e0d7 commit 8d9f187
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 4 additions & 1 deletion lib/parser/qq_v_page_1.js
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,8 @@ var exec = async function(params, opts){
'src': [vi[0]['ul']['m3u8']],
'preurl': preurl,
'isRemote':true,
'format' : 'mp4',
'format' : 'mp4',
'merge': true,
'type':'video',
})
}else if(video_json['vl']['vi'][0]['ul']['ui'][0]['hls']){
Expand All @@ -321,6 +322,7 @@ var exec = async function(params, opts){
'src': [vurl],
'format' : 'mp4',
'type':'video',
'merge': true,
'isRemote':true
})
}else if(video_json['vl']['vi'][0]['ul']['ui'][0]['url']){
Expand Down Expand Up @@ -355,6 +357,7 @@ var exec = async function(params, opts){
'src': urls,
'isRemote':true,
'format' : video_type,
'merge': true,
'type':'video',
})
}else{
Expand Down
2 changes: 0 additions & 2 deletions lib/stream-dl.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,6 @@ var download_stream_task = async function(selected_stream, opts){
}

console.log('debug: download result')
console.log(result)

// 资源下载结果
if(result.success && result.all){
Expand Down Expand Up @@ -265,7 +264,6 @@ var download_stream_dispatcher = async function(selected_streams, opts){
finish_result = await require(path.join(__dirname,'./util/ffmpeg_concat_av_to_mp4')).exec(finish_result['outputfile'], audio_result['outputfile'], finish_result['tempfilepath'], finish_result['outputfilename'], opts)
}
console.log('debug: finish_result')
console.log(finish_result)

let move_result
if(finish_result['outputfile']){
Expand Down

0 comments on commit 8d9f187

Please sign in to comment.