mirror of
https://github.com/soimort/you-get.git
synced 2025-01-24 05:55:02 +03:00
Revert "fix duplicate url bug for bilibili"
This commit is contained in:
parent
cd1823e924
commit
cdb447992c
@ -121,7 +121,7 @@ def bilibili_download(url, output_dir='.', merge=True, info_only=False, **kwargs
|
||||
id = id.split('&')[0]
|
||||
if t == 'cid':
|
||||
# Multi-P
|
||||
cids = []
|
||||
cids = [id]
|
||||
p = re.findall('<option value=\'([^\']*)\'>', html)
|
||||
if not p:
|
||||
bilibili_download_by_cid(id, title, output_dir=output_dir, merge=merge, info_only=info_only)
|
||||
|
Loading…
Reference in New Issue
Block a user