1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-12-23 06:57:54 +01:00

[myspace] Add more data to info dict

`uploader` is an artist
`playlist` is an album
This commit is contained in:
Tithen-Firion 2014-11-30 19:07:36 +01:00 committed by Jaime Marquínez Ferrándiz
parent f2b44a2513
commit 03fd72d996

View File

@ -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: