MartyMiniac / Social-Jam

Today a lot of streaming services are prevalent on the internet of which a lot many offers huge catalog of music to hear but there are occasions when we might want hear songs not alone but with a group friends. This is what this project aims to day. This projects aims to build a social media centered towards a song streaming solution.
https://socialjam.ml
3 stars 0 forks source link

JioSaavn API region Locked #8

Open MartyMiniac opened 2 years ago

MartyMiniac commented 2 years ago

I guess the jiosaavn api is region locked because a lot so songs are not visible when I deployed my project on heroku in Europe location. Need to setup a proxy system or route the request through the frontend client of the application to get around this problem.

My main concern is that I still need to test is if the JioSaavn API is cors limited then we need to find a VPS that can host our proxy server if not the project so that we can spoof our location to India.

MartyMiniac commented 2 years ago

The only solution for this that I can think of is either hosting it on an Indian VPS or using and India based VPN in front of the the backend server. While I did try calling the JioSaavn APIs from the frontend the cors policy is blocking any request that is made. The Content restriction is also listed on the JioSaavn's own website https://www.jiosaavn.com/corporate/music-rights

Though on a brighter side it will only affect english songs and hindi songs will remain unaffected.