1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 17:22:31 +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 @@ def search_data(name):
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: