diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-03-04 03:32:28 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-03-04 03:32:28 +0100 |
commit | c9ae7b95659df18a296752f31162e57d29777a80 (patch) | |
tree | 38134be9e17934b41849e69872479201761f97c3 /youtube_dl/YoutubeDL.py | |
parent | 86fb4347f7decdc2c6e58a4ec4cb14986536ea67 (diff) |
[youtube] Add support for search result URLs (Fixes #2495)
Diffstat (limited to 'youtube_dl/YoutubeDL.py')
-rw-r--r-- | youtube_dl/YoutubeDL.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 47205efae..bbfdfb444 100644 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -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 |