0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-22 02:15:12 +00:00

[ie/jiosaavn] Extract artists (#9612)

Closes #9607
Authored by: bashonly
This commit is contained in:
bashonly 2024-04-03 18:23:04 -05:00 committed by GitHub
parent 443e206ec4
commit 0ae16ceb18
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,6 +2,7 @@
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 @@ 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}),
}),
}