mirror of
https://github.com/soimort/you-get.git
synced 2025-02-12 13:05:19 +03:00
stderr append '\n'
This commit is contained in:
parent
24c37e2fad
commit
95f7378bfb
@ -170,7 +170,7 @@ class QQ(VideoExtractor):
|
|||||||
info = get_html(info_api)
|
info = get_html(info_api)
|
||||||
video_json = json.loads(match1(info, r'QZOutputJson=(.*)')[:-1])
|
video_json = json.loads(match1(info, r'QZOutputJson=(.*)')[:-1])
|
||||||
if 'vl' not in video_json or 'vi' not in video_json['vl']:
|
if 'vl' not in video_json or 'vi' not in video_json['vl']:
|
||||||
sys.stderr.writelines('Extract failed!!')
|
sys.stderr.writelines('Extract failed!!\n')
|
||||||
return
|
return
|
||||||
vi0 = video_json['vl']['vi'][0]
|
vi0 = video_json['vl']['vi'][0]
|
||||||
lnk = vi0['lnk']
|
lnk = vi0['lnk']
|
||||||
|
Loading…
Reference in New Issue
Block a user