This repo created for bypassing Widevine L3 DRM and obtaining keys.
Find a file
2023-01-14 20:31:04 +03:00
.github/ISSUE_TEMPLATE Update issue templates 2021-12-11 00:35:43 +03:00
cdm providers test 2021-12-13 06:43:08 +03:00
docs some pdfs 2023-01-14 20:31:04 +03:00
proto_compiler 1st test compilation 2021-12-07 00:22:18 +03:00
.gitignore Initial commit 2021-12-05 04:19:43 +03:00
getPSSH.py fix mimetype error 2021-12-16 09:19:03 +03:00
headers.py Update headers.py 2021-12-13 06:44:10 +03:00
l3.py okko partial support 2021-12-13 06:48:15 +03:00
README.md Update README.md 2022-12-19 22:04:27 +03:00
requirements.txt Update requirements.txt 2021-12-11 21:08:30 +03:00
wvdecryptcustom.py Initial commit 2021-12-05 04:19:43 +03:00

Important info

From December 14, 2021, CDM android_generic_4464 is gradually ceasing to work on most major VODs. Accordingly, since the script is based on this CDM, from this day on without replacing the CDM with the "non-leaked" one it will not work. How to fix this can be found in Google (with the proper level of knowledge what to look for, of course).
If you need script modification for some specific service, you can always write me on telegram @medvm. Since paypal doesn't work here anymore, I use Tether TRC20 wallet.

First run:

Copy headers (with cookies) of POST license request from browser to headers.py like dictionary.

pip install -r requirements.txt # if doesn't work try pip3
py l3.py
Input MPD URL: https://site.ru/.../.../filename.mpd
License URL: https://cms.35mm.online/umbraco/api/products/473/drm/widevine?platform=BROWSER&type=MOVIE

Works only if the site does not require specific json-formatted data in the license request. And if it requires and you want to add its support, write me on telegram and we'll figure something out. Nothing is unhackable.
Examples:

  1. Normal work:
    Normal work
  2. Server did not issue a license, as it requires additional json-formatted data: error_teapot
  3. If "Unable to find PSSH in mpd" - use this tool to get it manually or write to issues attaching a link to mpd