mirror of
https://github.com/soimort/you-get.git
synced 2025-03-15 12:23:58 +03:00
[755] do not fail the whole process
This commit is contained in:
parent
c9223acd11
commit
9f9944301c
@ -35,6 +35,7 @@ def nanagogo_download(url, output_dir='.', merge=True, info_only=False, **kwargs
|
|||||||
'size': size})
|
'size': size})
|
||||||
|
|
||||||
size = sum([i['size'] for i in items])
|
size = sum([i['size'] for i in items])
|
||||||
|
if size == 0: return # do not fail the whole process
|
||||||
print_info(site_info, title, ext, size)
|
print_info(site_info, title, ext, size)
|
||||||
if not info_only:
|
if not info_only:
|
||||||
for i in items:
|
for i in items:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user