Parcourir la source

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

Tithen-Firion il y a 10 ans
Parent
commit
03fd72d996
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      youtube_dl/extractor/myspace.py

+ 2 - 0
youtube_dl/extractor/myspace.py

@@ -60,7 +60,9 @@ class MySpaceIE(InfoExtractor):
             info = {
             info = {
                 'id': video_id,
                 'id': video_id,
                 'title': self._og_search_title(webpage),
                 'title': self._og_search_title(webpage),
+                'uploader': search_data('artist-name'),
                 'uploader_id': search_data('artist-username'),
                 'uploader_id': search_data('artist-username'),
+                'playlist': search_data('album-title'),
                 'thumbnail': self._og_search_thumbnail(webpage),
                 'thumbnail': self._og_search_thumbnail(webpage),
             }
             }
         else:
         else: