Music list extraction: read from SONG field
This one is used when there is no corresponding YouTube video for the track
This commit is contained in:
parent
ec8f652bc8
commit
74907a8183
@ -250,7 +250,9 @@ def _extract_from_music_renderer(renderer_content):
|
||||
row = row.get('infoRowRenderer', {})
|
||||
title = extract_str(row.get('title'))
|
||||
data = extract_str(row.get('defaultMetadata'))
|
||||
if title == 'ARTIST':
|
||||
if title == 'SONG':
|
||||
song['title'] = data
|
||||
elif title == 'ARTIST':
|
||||
song['artist'] = data
|
||||
elif title == 'ALBUM':
|
||||
song['album'] = data
|
||||
|
Loading…
x
Reference in New Issue
Block a user