YouTube: fix #282

This commit is contained in:
Mort Yao 2013-12-21 04:00:07 +01:00
parent 9379fafa36
commit f66af0d56c

View File

@ -122,7 +122,8 @@ def youtube_download(url, output_dir='.', merge=True, info_only=False):
parse_query_param(url, 'v') or \
parse_query_param(parse_query_param(url, 'u'), 'v')
if id is None:
list_id = parse_query_param(url, 'list')
list_id = parse_query_param(url, 'list') or \
parse_query_param(url, 'p')
assert id or list_id
if id: