Closed samocodes closed 1 year ago
Facing the same issue too, I hope it can be fixed soon.
Can you share a sample query or link where you are facing this issue?
For example if you use the query: https://saavn.me/songs?link=https://www.jiosaavn.com/song/hattrick-feat.-yaygo-musalini/IS8beB9ZAmA
You get the results, but the downloadUrl's are not working as the songs were playable yesterday, but today it is not available anymore to play
I tried putting the same method as JioSaavan doing
But there is also a issue with that somehow it wont work from your code or from API Client. I dont know the issue. Tried fake User Agent. Same issue.
Update: I tried decrypting with the code (it is in python) and it worked.
from pyDes import *
import base64
def decrypt_url(url):
des_cipher = des(b"38346591", ECB, b"\0\0\0\0\0\0\0\0",pad=None, padmode=PAD_PKCS5)
enc_url = base64.b64decode(url.strip())
dec_url = des_cipher.decrypt(enc_url, padmode=PAD_PKCS5).decode('utf-8')
dec_url = dec_url.replace("_96.mp4", "_320.mp4")
return dec_url
i've found the issue, a fix would be live soon
Can you tell where the issue is?
1df1c0e should fix the download link issue.
When I host it on vercel the search results are only showing hindi songs, while when I locally host it or use saavn.me api it showing worlwide results. How to resolve that?
@vibhu1720001 when deploying on vercel choose the serverless function region as Mumbai
Mumbai, India (South)- bom1 option?
Yes
It is showing same results.
Domain should be same right.
you need to deploy again after changing the serverless region
Gotcha
It worked. Thanks.
I guess JioSaavn recently made changes in their API which resulted in breaking the API.