The Ultimate Widevine Content Ripper (KEY Extract + Download + Decrypt)
Extracting decryption keys now supports all platforms (Mac, Windows, Linux)
- This script uses ChromeCDM 2209
- I'm not responsible for any action caused by the abuse of this script.
- DO NOT ABUSE THIS SCRIPT!
-
Python3.6
or later -
Add
mp4decrypt
,mp4dump
,aria2c
to$PATH
(CRITICAL) -
Install required packages
$ pip install -r requirements.txt
-
Clone or Download the Repo
-
Run narrowvine_reborn.py
$ python3 narrowvine_reborn.py
-
Enter
MPD_URL
andLICENSE_URL
of Widevine Content -
Once you are done downloading, the script will extract the keys and decrypt the contents.
-
Enter
FILENAME
with extension! (ex.final.mp4
) -
Your decrypted contents will be merged and saved to /output directory.
MPD_URL
- MPD URL of Widevine ContentLICENSE_URL
- LICENSE URL of Widevine ContentFILENAME
- Desired File Name of Final Decrypted File (with extension!)
usage: narrowvine_reborn.py [-h] [-mpd MPD] [-lic LICENSE] [-sd]
[-k ADD_HEADER] [-o OUTPUT] [-f FILENAME] [-q]
optional arguments:
-h, --help show this help message and exit
-mpd MPD, --video-link MPD
CENC MPD
-lic LICENSE, --license LICENSE
Specify license url
-sd, --skip-dl Skip download and only decrypt
-k ADD_HEADER, --add-header ADD_HEADER
Add Custom Header
-o OUTPUT, --output OUTPUT
-f FILENAME, --filename FILENAME
-q, --select-quality
- For
--add-header
, enter the header in the following format. (--add-header "{'KEY':'VALUE'}"
) - If
-q
is enabled, you can choose which quality to download from the MPD stream - If you pass
-mpd
,-lic
directly by the commandline, it will skip the manual input process
Educational purposes only. Downloading DRM'ed materials may violate their Terms of Service. DO NOT USE THIS FOR PIRACY.
If you enjoyed using the script, a star or a follow will be highly appreciated! 😎