diff options
author | bashonly <88596187+bashonly@users.noreply.github.com> | 2024-04-03 18:23:04 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-03 23:23:04 +0000 |
commit | 0ae16ceb1846cc4e609b70ce7c5d8e7458efceb2 (patch) | |
tree | d4efd0557e4ccc45aa1ddf837ea335a94aab369f | |
parent | 443e206ec41e64ca2aef61d8ef91640fb69b3113 (diff) |
[ie/jiosaavn] Extract artists (#9612)
Closes #9607
Authored by: bashonly
-rw-r--r-- | yt_dlp/extractor/jiosaavn.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/yt_dlp/extractor/jiosaavn.py b/yt_dlp/extractor/jiosaavn.py index a658a3b66..1131ac0d4 100644 --- a/yt_dlp/extractor/jiosaavn.py +++ b/yt_dlp/extractor/jiosaavn.py @@ -2,6 +2,7 @@ from .common import InfoExtractor from ..utils import ( int_or_none, js_to_json, + orderedSet, url_or_none, urlencode_postdata, urljoin, @@ -31,6 +32,7 @@ class JioSaavnSongIE(JioSaavnBaseIE): 'duration': 205, 'view_count': int, 'release_year': 2018, + 'artists': ['Sandesh Shandilya', 'Dhvani Bhanushali', 'Tanishk Bagchi', 'Rashmi Virag', 'Irshad Kamil'], }, }, { 'url': 'https://www.saavn.com/s/song/hindi/Saathiya/O-Humdum-Suniyo-Re/KAMiazoCblU', @@ -80,6 +82,7 @@ class JioSaavnSongIE(JioSaavnBaseIE): 'duration': ('duration', {int_or_none}), 'view_count': ('play_count', {int_or_none}), 'release_year': ('year', {int_or_none}), + 'artists': ('artists', ..., 'name', {str}, all, {orderedSet}), }), } |