swappyison / JiocinemaDownloader

Download both DRM and DRM free videos from jiocinema
3 stars 2 forks source link

1080p not coming #5

Closed Abhi5033 closed 10 months ago

Abhi5033 commented 10 months ago

Hii Thanks for the code. I tried to download this movie https://www.jiocinema.com/movies/main-tera-hero/3483383 The MPD extracted by code is giving only up to 720p. But It is available in 1080p (when played in TV). Maybe TV API is different?

Edit: I'm adding MPD link I got for reference

https://jc-ak-dashstreaming.jiocinema.com/content/entry/wvdata/8/24/0_tr7zep8z_voot_web_premium_1678964315646.mpd?hdnts=st=1693562794~exp=1693563394~acl=/content/entry/wvdata/8/24/*~id=c1b97a18-0e71-47f2-8c43-8d6acf703519~hmac=524844f6efabf6fa9ee194a7e89de4256bf9d12d5c4bb0ae0197f6c3315f6d88

sarvottam99 commented 10 months ago

in pc only upto 720p is available

Abhi5033 commented 10 months ago

How to get 1080p ?

sarvottam99 commented 10 months ago

try other sources

Abhi5033 commented 10 months ago

How to grab Android TV api link and headers? Maybe we get 1080p there

swappyison commented 10 months ago

@Abhi5033 use Httptoolkit it can intercept android devices traffic too, grab the mpd. Keys will remain the same.

Abhi5033 commented 10 months ago

@swappyison Is there a way to automate this token grabbing? access_token = input('access_token:')

swappyison commented 10 months ago

I am not sure how to do it, the license url itself expires after a while so making a POST request to retrieve request headers is kind of difficult. Still if there's a method, please let me know i will add it into the script.

Abhi5033 commented 10 months ago

@swappyison Check this one https://github.com/astravaganza/JC-dl/blob/main/main.py This author used OTP based login to get token. But this API works for old content only.

swappyison commented 10 months ago

@Abhi5033 run jioaccess.js and it will fetch the access token