name = "Sumanjay"
who_i_am = ['Developer','Coder','Engineer','NITian','Noobie']
age = 25
religion = "๐ฎ๐ณ"
cyberboysumanjay / gaanaapi Goto Github PK
View Code? Open in Web Editor NEWUnofficial Gaana API
License: MIT License
Unofficial Gaana API
License: MIT License
Access Is always denied on all gaana Urls-
Access Denied
You don't have permission to access "http://vodhlsweb-vh.akamaihd.net/i/songs/62/1846262/21160773/21160773_96.mp4/master.m3u8?" on this server.
Reference #18.6dc82c31.1596710075.41955309
This is API which gives access to links of songs. After that you can upload songs wherever you want to.
can we download from gaana?
Example: https://gaana-song-api.herokuapp.com/result/?url=https://gaana.com/song/meri-aashiqui-5
Returned JSON is :
[{"album":"Meri Aashiqui","artist":"Jubin Nautiyal, Rochak Kohli","bitrate":"96","duration":"4min 40sec","gaana_url":"https://gaana.com/song/meri-aashiqui-5","language":"Hindi","link":"https://vodhlsweb-vh.akamaihd.net/i/songs/76/3215276/30531742/30531742_96.mp4/master.m3u8?set-akamai-hls-revision=5&hdnts=st=1593109861exp=1593124261acl=/i/songs/76/3215276/30531742/30531742_96.mp4/*~hmac=4444fbc8f2a4cbbf83032a1ab8bf52d9832432a524844832860536facf5b2e8e","released":"Jun 03, 2020","status":true,"thumb":"https://a10.gaanacdn.com/images/albums/76/3215276/crop_640x640_3215276.jpg","title":"Meri Aashiqui"}]
If you go to the link, the access will be denied.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.