mirror of
https://github.com/soimort/you-get.git
synced 2025-02-03 08:43:58 +03:00
[qq] break if no pay
This commit is contained in:
parent
3faaebb676
commit
8979cd63ea
@ -47,6 +47,9 @@ def qq_download_by_vid(vid, title, output_dir='.', merge=True, info_only=False):
|
|||||||
else:
|
else:
|
||||||
log.w(key_json['msg'])
|
log.w(key_json['msg'])
|
||||||
break
|
break
|
||||||
|
if key_json.get('filename') is None:
|
||||||
|
log.w(key_json['msg'])
|
||||||
|
break
|
||||||
|
|
||||||
part_urls.append(url)
|
part_urls.append(url)
|
||||||
_, ext, size = url_info(url)
|
_, ext, size = url_info(url)
|
||||||
|
Loading…
Reference in New Issue
Block a user