diff options
Diffstat (limited to 'youtube')
-rw-r--r-- | youtube/yt_data_extract/watch_extraction.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/youtube/yt_data_extract/watch_extraction.py b/youtube/yt_data_extract/watch_extraction.py index 2158fec..cfda4fa 100644 --- a/youtube/yt_data_extract/watch_extraction.py +++ b/youtube/yt_data_extract/watch_extraction.py @@ -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 |