diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-09-29 05:05:06 +0200 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-09-29 05:05:06 +0200 |
commit | 6043f1df4e4f74bd0ade52b3fc0938ff241366dc (patch) | |
tree | dd1ef64e6e2b6cc20c44127b6a0f0efc204115eb | |
parent | 12548cd9330222848f6b49fe9eac91aaff897325 (diff) |
[ign] Return proper playlist object
-rw-r--r-- | youtube_dl/extractor/ign.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/youtube_dl/extractor/ign.py b/youtube_dl/extractor/ign.py index 12e9e61c4..c80185b53 100644 --- a/youtube_dl/extractor/ign.py +++ b/youtube_dl/extractor/ign.py @@ -89,7 +89,12 @@ class IGNIE(InfoExtractor): '<param name="flashvars"[^>]*value="[^"]*?url=(https?://www\.ign\.com/videos/.*?)["&]', webpage) if multiple_urls: - return [self.url_result(u, ie='IGN') for u in multiple_urls] + entries = [self.url_result(u, ie='IGN') for u in multiple_urls] + return { + '_type': 'playlist', + 'id': name_or_id, + 'entries': entries, + } video_id = self._find_video_id(webpage) result = self._get_video_info(video_id) |