You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to get the stream URL for https://gaana.com/song/piriyadha-enna but the streaming url which i got from this api throws the access denied exception.
So I checekd 'Gaana' html source. It has a past exipry time. This behaviour is observed for few songs. I checekd it for few more songs, some of them are having the future time in the 'expiry time' field (those URLs working fine). So I assume that the encrypted message (Stream URL) which is avaiable in the gaana html source is already expired for few songs.
I don't have a proper understanding about that encrypted message, what purpose gaana having this value and why it is already expired for few songs and few are not expired. So could you please help me to understand further about this encrypted message ? or How to get the non expired stream URL ?
Hi @cyberboysumanjay,
I tried to get the stream URL for https://gaana.com/song/piriyadha-enna but the streaming url which i got from this api throws the access denied exception.
So I checekd 'Gaana' html source. It has a past exipry time. This behaviour is observed for few songs. I checekd it for few more songs, some of them are having the future time in the 'expiry time' field (those URLs working fine). So I assume that the encrypted message (Stream URL) which is avaiable in the gaana html source is already expired for few songs.
I don't have a proper understanding about that encrypted message, what purpose gaana having this value and why it is already expired for few songs and few are not expired. So could you please help me to understand further about this encrypted message ? or How to get the non expired stream URL ?
Request URL: http://127.0.0.1:5000/result/?url=https://gaana.com/song/piriyadha-enna
Response: (Modified the python program to return the complete object of 'enc_message' to verify the expiry time
[ { "album": "Pattas", "artist": "Vijay Yesudas, Niranjana", "bitrate": "128", "code": { "bitRate": "128", "expiryTime": 1610659472, "message": "ROSHjXMk9zcCishvbC4sQYnxXvbrmWDWyyuN3mr9w98yn9qyW98gfPEkHDMbhtAeGkgZ3DkutSn7WXkxnDLYMB3W45gEeBt+6oFxbnRxgewCsff7MGsUCGpQfidj9Qt/pVTU0eYxyM7pFF3saff02mmGf5uaz7msAOzWppvLjYxkxL+3mXX86Mx50yNPewPMKf5l/FMc2rcpxgn5HhlVww==" }, "duration": "3min 40sec", "gaana_url": "https://gaana.com/song/piriyadha-enna", "language": "Tamil", "link": "https://stream-cdn.gaana.com/songs/45/2930945/29180691/29180691_128.mp4.xvod/master.m3u8?sign=1610623472-Ag2VTw0E6i-0-eae8268cf26e46891ab059f3b0841d2b", "released": "Dec 28, 2020", "status": true, "thumb": "https://a10.gaanacdn.com/images/albums/45/2930945/crop_640x640_1577536722_2930945.jpg", "title": "Piriyadha Enna" } ]
Response from the stream URL:
Access to stream-cdn.gaana.com was deniedYou don't have authorisation to view this page.
HTTP ERROR 403
The text was updated successfully, but these errors were encountered: