mirror of
https://github.com/soimort/you-get.git
synced 2025-01-24 14:05:01 +03:00
[bilibili] do not download danmaku for dry_run
This commit is contained in:
parent
cdb447992c
commit
1994198b65
@ -143,7 +143,7 @@ def bilibili_download(url, output_dir='.', merge=True, info_only=False, **kwargs
|
|||||||
else:
|
else:
|
||||||
raise NotImplementedError(flashvars)
|
raise NotImplementedError(flashvars)
|
||||||
|
|
||||||
if not info_only:
|
if not info_only and not dry_run:
|
||||||
title = get_filename(title)
|
title = get_filename(title)
|
||||||
print('Downloading %s ...\n' % (title + '.cmt.xml'))
|
print('Downloading %s ...\n' % (title + '.cmt.xml'))
|
||||||
xml = get_srt_xml(id)
|
xml = get_srt_xml(id)
|
||||||
|
Loading…
Reference in New Issue
Block a user