VideoHelp Forum
+ Reply to Thread
Results 1 to 15 of 15
Thread
  1. Hi Download Gurus,

    I'm trying to download the following video, but i keep getting the error in l3.py (WKS-KEYS): unable to parse license - check protobufs.

    Could someone please enlighten me? I've been hours trying without luck. Thank you so much in advance for your time



    This is the video (You need to change location with VPN to India)

    HTML Code:
    https://www.jiocinema.com/tv-shows/mahaprabhu-sree-chaitanya/1/adwaityo-acharya-prays-for-a-miracle/3131197
    I'm using this tutorial:
    HTML Code:
    https://forum.videohelp.com/threads/410399-Downloading-videos-from-Jiocinema-Step-by-Step-Guide
    I'm getting the following:


    HTML Code:
    PSSH: AAAAMnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABIiCjQwMDAxMDUxMTdI49yVmwY=
    Licence URL:
    HTML Code:
    https://ak-mediavod.jiocinema.com/hvvod/vod/3131197_1/bpkvod/jcvod/widevine/65aa4304eb8649107dc0f64f/65aa4304eb8649107dc0f64f/dash/65aa4304eb8649107dc0f64f-audio_ben=45377.dash?hdntl=exp=1729695648~acl=%2fhvvod%2fvod%2f3131197_1%2fbpkvod%2fjcvod%2fwidevine%2f65aa4304eb8649107dc0f64f%2f65aa4304eb8649107dc0f64f%2f*~id=e229a8408fb4c8bc3999f26309f784b7~data=hdntl,rqId%3d95b3c189-5465-401d-8201-4d3d0e851522.1~hmac=d79cbc93fd3c8a0bfc157ac840e66990f98087bea1c72328b52ceae3568a1211

    headers.py after converting the curl commands:
    HTML Code:
    import requests
    
    headers = {
        'accept': '*/*',
        'accept-language': 'es,es-ES;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6,de;q=0.5,de-DE;q=0.4',
        'origin': 'https://www.jiocinema.com',
        'priority': 'u=1, i',
        'referer': 'https://www.jiocinema.com/',
        'sec-ch-ua': '"Chromium";v="130", "Microsoft Edge";v="130", "Not?A_Brand";v="99"',
        'sec-ch-ua-mobile': '?0',
        'sec-ch-ua-platform': '"Windows"',
        'sec-fetch-dest': 'empty',
        'sec-fetch-mode': 'cors',
        'sec-fetch-site': 'same-site',
        'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 Edg/130.0.0.0',
    }
    
    response = requests.get(
        'https://ak-mediavod.jiocinema.com/hvvod/vod/3131197_1/bpkvod/jcvod/widevine/65aa4304eb8649107dc0f64f/65aa4304eb8649107dc0f64f/dash/65aa4304eb8649107dc0f64f-video=800000.dash?hdntl=exp=1729695648~acl=%2fhvvod%2fvod%2f3131197_1%2fbpkvod%2fjcvod%2fwidevine%2f65aa4304eb8649107dc0f64f%2f65aa4304eb8649107dc0f64f%2f*~id=e229a8408fb4c8bc3999f26309f784b7~data=hdntl,rqId%3d95b3c189-5465-401d-8201-4d3d0e851522.1~hmac=d79cbc93fd3c8a0bfc157ac840e66990f98087bea1c72328b52ceae3568a1211',
        headers=headers,
    )
    Quote Quote  
  2. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    License URL has to be post, not get.
    --[----->+<]>.++++++++++++.---.--------.
    [*drm mass downloader: widefrog*]~~~[*how to make your own mass downloader: guide*]
    Quote Quote  
  3. Image
    [Attachment 83031 - Click to enlarge]

    Code:
    --key b9169b5e9c3a5b71a198c639cd9dba2e:9208769913cd331d2b9b1606a2a6fede 
    --key b06acbeab25959c8942da293c32a81d6:3a9508767e86f57fff93ff9fd4ab59a8 
    --key 4223a1a2f2085d72b12987507aaa20bd:c6f4fab06cc9b3a01d489ea860cf58a6 
    --key 0e3f81e1ceda524ba0b0f39f7ebbd566:66a44c9bb286385ca5af82a62c23ac53
    Bypass HMACs, One-time-tokens and Lic.Wrapping: https://github.com/DevLARLEY/WidevineProxy2
    Quote Quote  
  4. Member
    Join Date
    Jul 2023
    Location
    India
    Search Comp PM
    Originally Posted by Bluesoul View Post
    Licence URL:
    HTML Code:
    https://ak-mediavod.jiocinema.com/hvvod/vod/3131197_1/bpkvod/jcvod/widevine/65aa4304eb8649107dc0f64f/65aa4304eb8649107dc0f64f/dash/65aa4304eb8649107dc0f64f-audio_ben=45377.dash?hdntl=exp=1729695648~acl=%2fhvvod%2fvod%2f3131197_1%2fbpkvod%2fjcvod%2fwidevine%2f65aa4304eb8649107dc0f64f%2f65aa4304eb8649107dc0f64f%2f*~id=e229a8408fb4c8bc3999f26309f784b7~data=hdntl,rqId%3d95b3c189-5465-401d-8201-4d3d0e851522.1~hmac=d79cbc93fd3c8a0bfc157ac840e66990f98087bea1c72328b52ceae3568a1211
    Wrong license url, request method of any license url should be POST, check that in networks tab for any site.
    Quote Quote  
  5. Originally Posted by larley View Post
    Image
    [Attachment 83031 - Click to enlarge]

    Code:
    --key b9169b5e9c3a5b71a198c639cd9dba2e:9208769913cd331d2b9b1606a2a6fede 
    --key b06acbeab25959c8942da293c32a81d6:3a9508767e86f57fff93ff9fd4ab59a8 
    --key 4223a1a2f2085d72b12987507aaa20bd:c6f4fab06cc9b3a01d489ea860cf58a6 
    --key 0e3f81e1ceda524ba0b0f39f7ebbd566:66a44c9bb286385ca5af82a62c23ac53
    Hi,
    your browser extension looks awesome, thank you for sharing it. I just installed it, could you share a guide/link of how to get the device file?

    Thank you in advance!
    Quote Quote  
  6. Originally Posted by sarvo99 View Post
    Originally Posted by Bluesoul View Post
    Licence URL:
    HTML Code:
    https://ak-mediavod.jiocinema.com/hvvod/vod/3131197_1/bpkvod/jcvod/widevine/65aa4304eb8649107dc0f64f/65aa4304eb8649107dc0f64f/dash/65aa4304eb8649107dc0f64f-audio_ben=45377.dash?hdntl=exp=1729695648~acl=%2fhvvod%2fvod%2f3131197_1%2fbpkvod%2fjcvod%2fwidevine%2f65aa4304eb8649107dc0f64f%2f65aa4304eb8649107dc0f64f%2f*~id=e229a8408fb4c8bc3999f26309f784b7~data=hdntl,rqId%3d95b3c189-5465-401d-8201-4d3d0e851522.1~hmac=d79cbc93fd3c8a0bfc157ac840e66990f98087bea1c72328b52ceae3568a1211
    Wrong license url, request method of any license url should be POST, check that in networks tab for any site.


    Thanks for taking the time guys and look it up, could you tell me if this is the correct one?
    I am filtering in Dev tools by "widevine".
    if that "post" one is the correct one, what exactly do i need to copy? I just tried it with the same PSSH and copied the URL of the post file i am showing you in the pic but still get the same error:
    unable to parse license - check protobufs


    Image
    [Attachment 83033 - Click to enlarge]



    Thank you!
    Quote Quote  
  7. Originally Posted by Bluesoul View Post
    Hi,
    your browser extension looks awesome, thank you for sharing it. I just installed it, could you share a guide/link of how to get the device file?

    Thank you in advance!
    Ready-to-use CDMs are available here: https://forum.videohelp.com/threads/413719-Ready-to-use-CDMs-available-here%21
    Bypass HMACs, One-time-tokens and Lic.Wrapping: https://github.com/DevLARLEY/WidevineProxy2
    Quote Quote  
  8. Member
    Join Date
    Jul 2023
    Location
    India
    Search Comp PM
    Originally Posted by Bluesoul View Post
    Originally Posted by sarvo99 View Post
    Originally Posted by Bluesoul View Post
    Licence URL:
    HTML Code:
    https://ak-mediavod.jiocinema.com/hvvod/vod/3131197_1/bpkvod/jcvod/widevine/65aa4304eb8649107dc0f64f/65aa4304eb8649107dc0f64f/dash/65aa4304eb8649107dc0f64f-audio_ben=45377.dash?hdntl=exp=1729695648~acl=%2fhvvod%2fvod%2f3131197_1%2fbpkvod%2fjcvod%2fwidevine%2f65aa4304eb8649107dc0f64f%2f65aa4304eb8649107dc0f64f%2f*~id=e229a8408fb4c8bc3999f26309f784b7~data=hdntl,rqId%3d95b3c189-5465-401d-8201-4d3d0e851522.1~hmac=d79cbc93fd3c8a0bfc157ac840e66990f98087bea1c72328b52ceae3568a1211
    Wrong license url, request method of any license url should be POST, check that in networks tab for any site.


    Thanks for taking the time guys and look it up, could you tell me if this is the correct one?
    I am filtering in Dev tools by "widevine".
    if that "post" one is the correct one, what exactly do i need to copy? I just tried it with the same PSSH and copied the URL of the post file i am showing you in the pic but still get the same error:
    unable to parse license - check protobufs


    Image
    [Attachment 83033 - Click to enlarge]



    Thank you!
    You need to update headers using curl of this url.
    Quote Quote  
  9. Originally Posted by larley View Post
    Originally Posted by Bluesoul View Post
    Hi,
    your browser extension looks awesome, thank you for sharing it. I just installed it, could you share a guide/link of how to get the device file?

    Thank you in advance!
    Ready-to-use CDMs are available here: https://forum.videohelp.com/threads/413719-Ready-to-use-CDMs-available-here%21


    Awesome, thank you!

    Could you help me with 2 questions please?

    1. Do you happen to also know the best way to download after getting the keys with your extension?

    2. Do I still need to emulate and get the files using android studio?
    Quote Quote  
  10. 1. That's explained in the tutorial you mentioned in your first post.
    2. No (should be clear if you read the tutorial...)

    Also: if you continue to use WKS-KEYS as explained in the tutorial: don't copy the whole output of curlconverter into headers.py, but only the headers dict. No "import requests", no "requests.post". The headers.py file is included from l3.py, which you have to execute.

    But clearly: I wouldn't bother using WKS-KEYS anymore. There are so many great tools out here in the forum you can use, and @larley's latest tool seems to be one of the easiest and best to use. Only use WKS-KEYS if you want to learn programming Python (even then: I wouldn't bother to extend WKS-KEYS...).
    Last edited by Obo; 22nd Oct 2024 at 13:01.
    Quote Quote  
  11. Originally Posted by Obo View Post
    1. That's explained in the tutorial you mentioned in your first post.
    2. No (should be clear if you read the tutorial...)

    Also: if you continue to use WKS-KEYS as explained in the tutorial: don't copy the whole output of curlconverter into headers.py, but only the headers dict. No "import requests", no "requests.post". The headers.py file is included from l3.py, which you have to execute.

    But clearly: I wouldn't bother using WKS-KEYS anymore. There are so many great tools out here in the forum you can use, and @larley's latest tool seems to be one of the easiest and best to use. Only use WKS-KEYS if you want to learn programming Python (even then: I wouldn't bother to extend WKS-KEYS...).


    Thank you for your hints and you are right, with the extension it's much easier. If i do it with @larley's extension could you please tell me if i am getting it correctly?


    1. itf i use @larley's extension, that means, i can skip steps 2-5 from this tutorial (https://forum.videohelp.com/threads/410399-Downloading-videos-from-Jiocinema-Step-by-Step-Guide)? If that's correct

    2. I need a WDV file to chose in @larley's extension which has the private keys (files*.bin and *.pem) I got with the WVDumper from step 1 of the tutorial, how exactly could I do it if so?

    Thank you in advance!
    Quote Quote  
  12. 1. Yes
    2. Create a Widevine Device like so:
    Code:
    pywidevine create-device -k "path/to/device_private_key" -c "path/to/device_client_id_blob" -t "ANDROID" -l 3
    Bypass HMACs, One-time-tokens and Lic.Wrapping: https://github.com/DevLARLEY/WidevineProxy2
    Quote Quote  
  13. Originally Posted by larley View Post
    1. Yes
    2. Create a Widevine Device like so:
    Code:
    pywidevine create-device -k "path/to/device_private_key" -c "path/to/device_client_id_blob" -t "ANDROID" -l 3


    Awesome, thank you so much @larley, now it worked

    I wanted to ask you:

    1. What is the difference between using one of the CDM's you shared above and using the one i create with the android emulator in my own pc to load it in your extension?

    2. Is it possible for you to make your extension also get the mpd url to copy it faster from there in a future version?

    3. is there a way to batch download a serial without doing the whole process per episode? Or is there a more efficient way you already know of doing it?

    Again thank you so much, your extension is the best!
    Quote Quote  
  14. 1. There's actually no difference between the CDMs itself, it's just easier to get them and there is a tiny chance that the public one might get revoked. There are also some physical device CDMs on here which you'd need for Peacock or DRMToday for example.
    2. That's not possible because Chrome extensions for Manifest V3 don't have access to the webRequest API and MV2 will be revoked soon.
    3. Not with this extension. You'd have to find some betch downloader script on this forum or ask somebody to do it for you (not me)
    Bypass HMACs, One-time-tokens and Lic.Wrapping: https://github.com/DevLARLEY/WidevineProxy2
    Quote Quote  
  15. Originally Posted by larley View Post
    1. There's actually no difference between the CDMs itself, it's just easier to get them and there is a tiny chance that the public one might get revoked. There are also some physical device CDMs on here which you'd need for Peacock or DRMToday for example.
    2. That's not possible because Chrome extensions for Manifest V3 don't have access to the webRequest API and MV2 will be revoked soon.
    3. Not with this extension. You'd have to find some betch downloader script on this forum or ask somebody to do it for you (not me)


    Gotcha, thank you mate. All the best
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!