This commit is contained in:
Mort Yao 2017-10-13 15:58:29 +02:00
parent 2ef577e467
commit 74291bf5f7
No known key found for this signature in database
GPG Key ID: 07DA00CB78203251

View File

@ -13,8 +13,6 @@ def qq_download_by_vid(vid, title, output_dir='.', merge=True, info_only=False):
info = get_content(info_api)
video_json = json.loads(match1(info, r'QZOutputJson=(.*)')[:-1])
if video_json['exem'] != 0:
log.wtf(video_json['msg'])
fn_pre = video_json['vl']['vi'][0]['lnk']
title = video_json['vl']['vi'][0]['ti']
host = video_json['vl']['vi'][0]['ul']['ui'][0]['url']