mirror of
https://github.com/soimort/you-get.git
synced 2025-02-10 04:02:28 +03:00
[qq] fix #2409
This commit is contained in:
parent
2ef577e467
commit
74291bf5f7
@ -13,8 +13,6 @@ def qq_download_by_vid(vid, title, output_dir='.', merge=True, info_only=False):
|
|||||||
info = get_content(info_api)
|
info = get_content(info_api)
|
||||||
video_json = json.loads(match1(info, r'QZOutputJson=(.*)')[:-1])
|
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']
|
fn_pre = video_json['vl']['vi'][0]['lnk']
|
||||||
title = video_json['vl']['vi'][0]['ti']
|
title = video_json['vl']['vi'][0]['ti']
|
||||||
host = video_json['vl']['vi'][0]['ul']['ui'][0]['url']
|
host = video_json['vl']['vi'][0]['ul']['ui'][0]['url']
|
||||||
|
Loading…
Reference in New Issue
Block a user