[BiliBili] Better Multi-Part Video Naming

This commit is contained in:
Zhang 2016-12-22 22:33:37 +08:00 committed by GitHub
parent 61d9bf124e
commit db16bcb659

View File

@ -167,10 +167,10 @@ def bilibili_download(url, output_dir='.', merge=True, info_only=False, **kwargs
if not pages:
cids = [cid]
titles = [r1(r'<option value=.* selected>\s*([^<>]+)\s*</option>', html) or title]
for i in range(len(cids)):
completeTitle=title+"-"+titles[i]#Build Better Title
bilibili_download_by_cid(cids[i],
titles[i],
completeTitle,
output_dir=output_dir,
merge=merge,
info_only=info_only)