Skip to content

The Ultimate Widevine Content Ripper (KEY Extract + Download + Decrypt)

License

Notifications You must be signed in to change notification settings

weapon121/narrowvine

Repository files navigation

NARROWVINE

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.

Requirements

  • ffmpeg, yt-dlp, aria2 (These must be in PATH)
$ pip install ffmpeg yt-dlp aria2p

Instructions For Windows

  1. Clone or Download the Repo.
  2. Run narrowvine.py
$ python3 narrowvine.py
  1. Enter MPD_URL and LICENSE_URL of Widevine Content
  2. Enter VIDEO_ID and AUDIO_ID to download encrypted content.
  3. Once you are done downloading, the script will extract the keys and decrypt the contents.

2

  1. Enter FILENAME with extension! (ex. final.mp4)
  2. Your decrypted contents will be merged and saved to /output directory.

Inputs

  • MPD_URL - MPD URL of Widevine Content
  • LICENSE_URL - LICENSE URL of Widevine Content
  • VIDEO_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!)

Arguments

  • 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"

Legal Notice

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! 😎

About

The Ultimate Widevine Content Ripper (KEY Extract + Download + Decrypt)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages