The Ultimate Widevine Content Ripper (KEY Extract + Download + Decrypt)
Extracting decryption keys only supports Windows.
- If you are using a different platform, you would need to extract decryption keys using Widevine L3 decryptor from a Windows Machine first and paste them into the script.
- This is a combination of widevine-dl and widevineclient3 in my repo.
- This exploit will be patched by Widevine in May 31st, 2021.
- ffmpeg, yt-dlp, aria2 (These must be in PATH)
$ pip install ffmpeg yt-dlp aria2p
- Clone or Download the Repo.
- Run narrowvine.py
$ python3 narrowvine.py
- Enter
MPD_URL
andLICENSE_URL
of Widevine Content - Enter
VIDEO_ID
andAUDIO_ID
to download encrypted 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 ContentVIDEO_ID
- Video Track ID Shown in Stream Info (Leave blank for best)AUDIO_ID
- Audio Track ID Shown in Stream Info (Leave blank for best)FILENAME
- Desired File Name of Final Decrypted File (with extension!)
- You can also run the python script in a single line command
$ python3 narrowvine.py -mpd "https://bitmovin-a.akamaihd.net/content/art-of-motion_drm/mpds/11331.mpd" -license "https://widevine-proxy.appspot.com/proxy"
Educational purposes only. Downloading DRM'ed materials may violate their Terms of Service.
If you enjoyed using the script, a star or a follow will be highly appreciated! 😎