mirror of
https://github.com/soimort/you-get.git
synced 2025-01-24 22:15:03 +03:00
[BiliBili] Better Multi-Part Video Naming
This commit is contained in:
parent
61d9bf124e
commit
db16bcb659
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user