Step 1 - Get your own device_client_id_blob and device_private_key files using this guide - https://forum.videohelp.com/threads/408031-Dumping-Your-own-L3-CDM-with-Android-Studio
Step 2 - Download this folder - https://anonfiles.com/XdUbwepdve/WKS-KEYS_rar. Put the files obtained in step 1 in this folder inside \WKS-KEYS\pywidevine\L3\cdm\devices\android_generic .
Step 3 - Open cmd prompt in this folder and run l3.py
Step 4 - Now you need to know the PSSH and License URL of the video you want. Now these values differ for each video and every website. I am going to tell specifically for Jiocinema. PSSH- Go to the link of video you want to download press f12 go to network tab in search filter type mpd and double click on the search result open the file in notepad++ or sublime text editor search for pssh and u will get a value like this - AAAALXBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAA0iBSAAJY CQSOPclZsG this is ur pssh paste it in the l3 cmd prompt window.
Still unable to get pssh follow this link - https://forum.videohelp.com/threads/404586-how-to-work-out-the-pssh-when-not-shown-in-...pd#post2647121
License URL - To get the license URL go to network tab as earlier and this time search for proxy right click on the second or third link and now copy - copy as curl (bash). Now go to https://curlconverter.com/ and paste it the site will convert this to python code. copy the converted code. Now go to headers.py file(present inside wkskeys folder u downloaded in step 2) and open it in your notepad++ and paste the copied code and save the file. Now go to network tab and search proxy and right click the same link you did earlier but this time copy- copy link address paste it in l3.py window.
{If searching proxy doesn't yield working results search for these terms(one at a time) - widevine, drm, wv, lic, proxy, cenc, auth. If you still cant get license url in the network tab you can see all urls and test those with request method - POST. Main identification is the header produced after using curlconverter should have mention of video id, data, response. some examples of headers for this site - https://controlc.com/c6636232 https://controlc.com/b3c1fd5b. }
Step 5 - Now you will get keys in this format --key 1d51092b959b5d8fbf845cb72e56dd17:a70576cded76a0e6f 51b9abb98d0ea60
--key 8346aa7400735af7a68d078ccf7b87de:50f3636a43b1e261e 583b2d2303b41fd
--key 5f656c90548e5848a69df9ef95849465:72416778d84be97f0 57f1e5b521d15ad. The keys are different for every video.
Step 6 - Copy this keys and keep it safe.
Step 7 - Downloading the video - First you need to download this file and put it in any folder - https://github.com/nilaoda/N_m3u8DL-RE/releases/download/v0.2.0-beta/N_m3u8DL-RE_Beta_...4_20230628.zip. Now download this https://www.bento4.com/downloads/ and from the package, inside bin folder copy mp4decrypt.exe and paste it where you kept the above file. The folder should have two files now namely - mp4decrypt.exe and N_m3u8DL-RE.exe
Step 8 - Now in the network tab of video link search mpd and right click copy - copy link address and keep it safe.
Step 9 - Open folder of step 7 open cmd prompt window here and type the below code (REPLACE MPD LINK IN CODE BELOW WITH LINK COPIED IN STEP 8) (REPLACE KEYS WITH KEYS YOU FOUND IN STEP 5)
N_m3u8DL-RE -M format=mp4 --key 16b31073f8fe53c18502826dead782b9:f573081e2699f0ae9 78eb2a6096bc2a4 --key 5856f57b7cb7556999a9956a248473e6:7acfc4d27a5e8de75 768c23b74b90aeb --key 27436061212a544ca99c66fef508d9b8:20fb0fbb605fb01b1 5de84c0be73762c "mpd link" --save-name S01E88
OR
N_m3u8DL-RE -M format=mp4 --key 77b1BIUBUI098:534c40e8244c5c7dfeb64432d7b8c863 --key 53d35096cc1c5fcb91d07d052c5b8ee5:a4HBJHBJHJBHBH0b8 1b --key f293a0d9733454308e203ffNJJNJ06583eb308cfe2eedec "MPD LINK" --header "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/116.0" --header "Referer: https://www.jiocinema.com/" --save-name "E1"
USE 2ND COMMAND IF 1ST SHOWS ANY ERROR (403 FORBIDDEN)
+ Reply to Thread
Results 1 to 5 of 5
-
Last edited by sarvo99; 12th Aug 2023 at 08:20.
-
Hello. I want to create a list file for batch loading in N_m3u8DL-RE. can someone please guide me the command. thank you!
Similar Threads
-
Stuck at the step of getting the key.
By rabbitrcok in forum Video Streaming DownloadingReplies: 7Last Post: 12th Dec 2023, 10:22 -
How to download jiocinema videos they are free to watch
By sarvo99 in forum Video Streaming DownloadingReplies: 13Last Post: 18th Jul 2023, 05:17 -
How to change audio offset step by 1 instead of 25 on Kodi?
By Runakanta in forum Newbie / General discussionsReplies: 7Last Post: 30th Dec 2022, 08:18 -
step by step m2p to DVD
By bitofmorethanicanchew in forum Newbie / General discussionsReplies: 46Last Post: 17th Oct 2021, 01:55 -
HOw do I take out advertisements from mkv files in one step?
By RBCC in forum EditingReplies: 2Last Post: 23rd Aug 2018, 16:38