mirror of
https://github.com/soimort/you-get.git
synced 2025-02-11 20:52:31 +03:00
[BiliBili]fix #1758
This commit is contained in:
parent
5b2c557f17
commit
fe6d60f1ec
@ -16,6 +16,8 @@ def output(video_extractor, pretty_print=True):
|
|||||||
out['audiolang'] = ve.audiolang
|
out['audiolang'] = ve.audiolang
|
||||||
except NameError:
|
except NameError:
|
||||||
pass
|
pass
|
||||||
|
except AttributeError:
|
||||||
|
pass
|
||||||
if pretty_print:
|
if pretty_print:
|
||||||
print(json.dumps(out, indent=4, sort_keys=True, ensure_ascii=False))
|
print(json.dumps(out, indent=4, sort_keys=True, ensure_ascii=False))
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user