Revert "fix duplicate url bug for bilibili"

This commit is contained in:
Mort Yao 2015-10-16 21:48:21 +02:00
parent cd1823e924
commit cdb447992c

View File

@ -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)