[ie/soundcloud] Extract `genres`

Authored by: bashonly
pull/9821/head
bashonly 1 month ago
parent ac817bc83e
commit 124a859580
No known key found for this signature in database
GPG Key ID: 783F096F253D15B0

@ -361,7 +361,7 @@ class SoundcloudBaseIE(InfoExtractor):
'like_count': extract_count('favoritings') or extract_count('likes'), 'like_count': extract_count('favoritings') or extract_count('likes'),
'comment_count': extract_count('comment'), 'comment_count': extract_count('comment'),
'repost_count': extract_count('reposts'), 'repost_count': extract_count('reposts'),
'genre': info.get('genre'), 'genres': traverse_obj(info, ('genre', {str}, {lambda x: x or None}, all)),
'formats': formats if not extract_flat else None 'formats': formats if not extract_flat else None
} }

Loading…
Cancel
Save