Skip to content

Commit

Permalink
[ie/jiosaavn] Extract artists (yt-dlp#9612)
Browse files Browse the repository at this point in the history
Closes yt-dlp#9607
Authored by: bashonly
  • Loading branch information
bashonly authored Apr 3, 2024
1 parent 443e206 commit 0ae16ce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions yt_dlp/extractor/jiosaavn.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from ..utils import (
int_or_none,
js_to_json,
orderedSet,
url_or_none,
urlencode_postdata,
urljoin,
Expand Down Expand Up @@ -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',
Expand Down Expand Up @@ -80,6 +82,7 @@ def _real_extract(self, url):
'duration': ('duration', {int_or_none}),
'view_count': ('play_count', {int_or_none}),
'release_year': ('year', {int_or_none}),
'artists': ('artists', ..., 'name', {str}, all, {orderedSet}),
}),
}

Expand Down

0 comments on commit 0ae16ce

Please sign in to comment.