mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-17 14:41:44 +00:00
parent
4c3b7a0769
commit
443e206ec4
@ -24,7 +24,7 @@ class JioSaavnSongIE(JioSaavnBaseIE):
|
|||||||
'md5': '3b84396d15ed9e083c3106f1fa589c04',
|
'md5': '3b84396d15ed9e083c3106f1fa589c04',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': 'OQsEfQFVUXk',
|
'id': 'OQsEfQFVUXk',
|
||||||
'ext': 'mp4',
|
'ext': 'm4a',
|
||||||
'title': 'Leja Re',
|
'title': 'Leja Re',
|
||||||
'album': 'Leja Re',
|
'album': 'Leja Re',
|
||||||
'thumbnail': 'https://c.saavncdn.com/258/Leja-Re-Hindi-2018-20181124024539-500x500.jpg',
|
'thumbnail': 'https://c.saavncdn.com/258/Leja-Re-Hindi-2018-20181124024539-500x500.jpg',
|
||||||
@ -61,9 +61,10 @@ class JioSaavnSongIE(JioSaavnBaseIE):
|
|||||||
if not media_data.get('auth_url'):
|
if not media_data.get('auth_url'):
|
||||||
self.report_warning(f'Unable to extract format info for {bitrate}')
|
self.report_warning(f'Unable to extract format info for {bitrate}')
|
||||||
continue
|
continue
|
||||||
|
ext = media_data.get('type')
|
||||||
formats.append({
|
formats.append({
|
||||||
'url': media_data['auth_url'],
|
'url': media_data['auth_url'],
|
||||||
'ext': media_data.get('type'),
|
'ext': 'm4a' if ext == 'mp4' else ext,
|
||||||
'format_id': bitrate,
|
'format_id': bitrate,
|
||||||
'abr': int(bitrate),
|
'abr': int(bitrate),
|
||||||
'vcodec': 'none',
|
'vcodec': 'none',
|
||||||
|
Loading…
Reference in New Issue
Block a user