[youtube] Add support for search result URLs (Fixes #2495)
This commit is contained in:
parent
86fb4347f7
commit
c9ae7b9565
5 changed files with 64 additions and 11 deletions
|
@ -675,7 +675,7 @@ class YoutubeDL(object):
|
|||
info_dict['playlist'] = None
|
||||
info_dict['playlist_index'] = None
|
||||
|
||||
if 'display_id' not in info_dict:
|
||||
if 'display_id' not in info_dict and 'id' in info_dict:
|
||||
info_dict['display_id'] = info_dict['id']
|
||||
|
||||
# This extractors handle format selection themselves
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue