jiosaavn-api: Download Link not found
I’ve reached till here using apisauce… I am getting this response.
As you can see Download Link
is not present in this response.
How to get the download link
in mp3
or m4a
format??
{
songs: [
{
id: "_nEBGjbA",
type: "",
song: "Toh Aagaye Hum",
album: "Toh Aagaye Hum",
year: "2021",
music: "",
music_id: "",
primary_artists: "Jubin Nautiyal, Mithoon",
primary_artists_id: "881158, 702592",
featured_artists: "",
featured_artists_id: "",
singers: "Jubin Nautiyal, Mithoon",
starring: "",
image:
"http://c.saavncdn.com/596/Toh-Aagaye-Hum-Hindi-2021-20210105051001-150x150.jpg",
label: "T-Series",
albumid: "24458261",
language: "hindi",
origin: "none",
play_count: 11877894,
copyright_text: "℗ 2021 Super Cassettes Industries Private Limited",
"320kbps": "true",
is_dolby_content: false,
explicit_content: 0,
has_lyrics: "true",
lyrics_snippet: "to aa gae hum, to aa gae hum",
encrypted_media_url:
"iPPGVzyogeiPwpro65A0eUaQggN+8+J4ysj4woduBtXAS270uIcGXiF4bDaGWx6VUNiDciXdhLU7souFj8Dv3YPzFaL/aK97",
encrypted_media_path:
"NMKyboFo/Fg8AUtXa/3V/LnHv5x1rBVV6up7gLqHyE0hM9n74OI5Ot2i/Yucx97k",
media_preview_url:
"http://preview.saavncdn.com/596/8351ba13f3cb8fe8d535a7c9ce6962f0_96_p.mp4",
perma_url: "https://www.jiosaavn.com/song/toh-aagaye-hum/LwYuczNaVXI",
album_url: "https://www.jiosaavn.com/album/toh-aagaye-hum/oTv1zEgCPII_",
duration: "302",
rights: {
code: 0,
reason: "",
cacheable: true,
delete_cached_object: false,
},
cache_state: "false",
starred: "false",
artistMap: {
"Jubin Nautiyal": "881158",
Mithoon: "702592",
"Sayeed Quadri": "669007",
},
release_date: "2021-01-05",
vcode: "010910091227409",
vlink:
"https://jiotunepreview.jio.com/content/Converted/010910091184155.mp3",
triller_available: false,
label_url: "/label/t-series-albums/6DLuXO3VoTo_",
},
],
modules: {
reco: {
source: "reco.getreco",
position: 1,
scroll_type: "SS_Basic",
title: "You Might Like",
subtitle: "",
highlight: "",
simpleHeader: false,
noHeader: false,
source_api: true,
source_params: {
pid: "_nEBGjbA",
},
view_more: [],
},
artists: {
source: "artists",
position: 2,
scroll_type: "SS_Basic",
title: "Artists",
subtitle: "",
highlight: "",
simpleHeader: false,
noHeader: false,
view_more: [],
},
},
}
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 19 (10 by maintainers)
You need to URL encode the
encrypt_media_url
first. so the url will look like https://www.jiosaavn.com/api.php?__call=song.generateAuthToken&url=iPPGVzyogeiPwpro65A0eUaQggN%2B8%2BJ4LaRIpSa2Dhfw2i%2FtkExdtN99%2BIdTGUa2rhm2Nt4A99Ail%2BV95E4o%2F4PzFaL%2FaK97&bitrate=128&api_version=4&_format=json&ctx=web6dot0&_marker=0