The Ultimate Widevine Content Ripper (KEY Extract + Download + Decrypt)
Extracting decryption keys only supports Windows.
$ pip install ffmpeg yt-dlp aria2p pycryptodome
or just simply
$ pip install -r requirements.txt
Clone or Download the Repo (It is more recommended to download a compiled version from Releases)
Run narrowvine.py
$ python3 narrowvine.py
Enter MPD_URL
and LICENSE_URL
of Widevine Content
Enter VIDEO_ID
and AUDIO_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!)$ python3 narrowvine.py -mpd "https://bitmovin-a.akamaihd.net/content/art-of-motion_drm/mpds/11331.mpd" -license "https://widevine-proxy.appspot.com/proxy"
If you get ucrtbased.dll
and vcruntime140d.dll
missing error when running license_proxy.exe
, download and unzip 32bit.zip to ..\Windows\System32
and download and unzip 64bit.zip to ..\Windows\SysWOW64
.
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! 😎