mirror of
https://github.com/soimort/you-get.git
synced 2025-01-23 21:45:02 +03:00
YouTube: fix #282
This commit is contained in:
parent
9379fafa36
commit
f66af0d56c
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user