projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fed5d03
)
[vh1] Modernize
author
Philipp Hagemeister
<phihag@phihag.de>
Thu, 20 Nov 2014 15:51:33 +0000
(16:51 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Thu, 20 Nov 2014 15:51:33 +0000
(16:51 +0100)
youtube_dl/extractor/vh1.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vh1.py
b/youtube_dl/extractor/vh1.py
index 2f77e38981c3607b6dceb00cac3bca514bf2fcd8..6be3774b7aa7367e9a067b417d7a749fece55d05 100644
(file)
--- a/
youtube_dl/extractor/vh1.py
+++ b/
youtube_dl/extractor/vh1.py
@@
-121,4
+121,7
@@
class VH1IE(MTVIE):
idoc = self._download_xml(
doc_url, video_id,
'Downloading info', transform_source=fix_xml_ampersands)
- return [self._get_video_info(item) for item in idoc.findall('.//item')]
+ return self.playlist_result(
+ [self._get_video_info(item) for item in idoc.findall('.//item')],
+ playlist_id=video_id,
+ )