projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12548cd
)
[ign] Return proper playlist object
author
Philipp Hagemeister
<phihag@phihag.de>
Mon, 29 Sep 2014 03:05:06 +0000
(
05:05
+0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Mon, 29 Sep 2014 03:05:06 +0000
(
05:05
+0200)
youtube_dl/extractor/ign.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/ign.py
b/youtube_dl/extractor/ign.py
index 12e9e61c465cce7f30ed93d293d946ea05f4de74..c80185b535b8d9853adf886fb8b5582284d12a03 100644
(file)
--- 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)