Coder Social home page Coder Social logo

gaanaapi's Introduction

Namaste ๐Ÿ™๐Ÿป

Available ๐Ÿ‘‡

Sumanjay LinkedIN Sumanjay Twitter Sumanjay YouTube Sumanjay Instagram Sumanjay Quora Sumanjay Portfolio Sumanjay Telegram



Profile Views

Telegram Channel Telegram Group

About ๐Ÿ™‹๐Ÿปโ€โ™‚๏ธ

name = "Sumanjay"
who_i_am = ['Developer','Coder','Engineer','NITian','Noobie']
age = 25
religion = "๐Ÿ‡ฎ๐Ÿ‡ณ"

Skills ๐Ÿ‘จโ€๐Ÿ’ป

Python

Flask

Dart

GitHub

Android

MongoDB

MySQL

JavaScript

Java

C

C++

HTML

CSS



Stats โšก๏ธ

Github Stats

gaanaapi's People

Contributors

cyberboysumanjay avatar yadavgulshan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gaanaapi's Issues

Ganna download url is invalid

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.

Access to stream-cdn.gaana.com was denied

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.