commit: 03fd72d9967805aff7f28213385cf04e420d136e
parent f2b44a2513d788e0e6a7f54497a7ac0e4090c1ff
Author: Tithen-Firion <Tithen-Firion@users.noreply.github.com>
Date: Sun, 30 Nov 2014 19:07:36 +0100
[myspace] Add more data to info dict
`uploader` is an artist
`playlist` is an album
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/youtube_dl/extractor/myspace.py b/youtube_dl/extractor/myspace.py
@@ -60,7 +60,9 @@ class MySpaceIE(InfoExtractor):
info = {
'id': video_id,
'title': self._og_search_title(webpage),
+ 'uploader': search_data('artist-name'),
'uploader_id': search_data('artist-username'),
+ 'playlist': search_data('album-title'),
'thumbnail': self._og_search_thumbnail(webpage),
}
else: