Browse Source

[myspace] Add more data to info dict
`uploader` is an artist
`playlist` is an album

Tithen-Firion 10 years ago
parent
commit
03fd72d996
1 changed files with 2 additions and 0 deletions
  1. 2 0
      youtube_dl/extractor/myspace.py

+ 2 - 0
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: