aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTithen-Firion <Tithen-Firion@users.noreply.github.com>2014-11-30 19:07:36 +0100
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-12-01 00:10:11 +0100
commit03fd72d9967805aff7f28213385cf04e420d136e (patch)
tree0166094af15132a0e6ddf3d3dc68c4e4540b6bda
parentf2b44a2513d788e0e6a7f54497a7ac0e4090c1ff (diff)
[myspace] Add more data to info dict
`uploader` is an artist `playlist` is an album
-rw-r--r--youtube_dl/extractor/myspace.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/myspace.py b/youtube_dl/extractor/myspace.py
index 24da36212..1a118a37f 100644
--- 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: