mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-12 14:26:49 +01:00
[ie/jiosaavn] Extract artists (#9612)
Closes #9607 Authored by: bashonly
This commit is contained in:
parent
443e206ec4
commit
0ae16ceb18
@ -2,6 +2,7 @@
|
|||||||
from ..utils import (
|
from ..utils import (
|
||||||
int_or_none,
|
int_or_none,
|
||||||
js_to_json,
|
js_to_json,
|
||||||
|
orderedSet,
|
||||||
url_or_none,
|
url_or_none,
|
||||||
urlencode_postdata,
|
urlencode_postdata,
|
||||||
urljoin,
|
urljoin,
|
||||||
@ -31,6 +32,7 @@ class JioSaavnSongIE(JioSaavnBaseIE):
|
|||||||
'duration': 205,
|
'duration': 205,
|
||||||
'view_count': int,
|
'view_count': int,
|
||||||
'release_year': 2018,
|
'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',
|
'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}),
|
'duration': ('duration', {int_or_none}),
|
||||||
'view_count': ('play_count', {int_or_none}),
|
'view_count': ('play_count', {int_or_none}),
|
||||||
'release_year': ('year', {int_or_none}),
|
'release_year': ('year', {int_or_none}),
|
||||||
|
'artists': ('artists', ..., 'name', {str}, all, {orderedSet}),
|
||||||
}),
|
}),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user