Giter Site home page Giter Site logo

narrowvine's Introduction

NARROWVINE

made-with-python Github All Releases License: MIT

(2021.8.26) New Version Released: https://github.com/WHTJEON/narrowvine-reborn

(2021.6.1) Widevine revoked every exploit used in this script. It's dead.
It is reported to still work in some sites, but most of them are revoked.

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. If you want to skip this procedure, download from Releases)
  • pycryptodome
$ pip install ffmpeg yt-dlp aria2p pycryptodome

or just simply

$ pip install -r requirements.txt

Instructions For Windows

  1. Clone or Download the Repo (It is more recommended to download a compiled version from Releases)
  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"

DLL Dependencies

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.

Legal Notice

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! ๐Ÿ˜Ž

narrowvine's People

Contributors

whtjeon avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.