]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[myspace] Add more data to info dict
authorTithen-Firion <Tithen-Firion@users.noreply.github.com>
Sun, 30 Nov 2014 18:07:36 +0000 (19:07 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sun, 30 Nov 2014 23:10:11 +0000 (00:10 +0100)
`uploader` is an artist
`playlist` is an album

youtube_dl/extractor/myspace.py

index 24da362121f295735a9af935e8a2b848bd5fa34a..1a118a37f7cba821d378671a9ab035c00567cd64 100644 (file)
@@ -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: