Go to file
TPD94 a1da7d3f2d Even more error handling and stopped using Windows stupid ass backslash. 2024-03-02 14:48:15 -05:00
discord CDRM-Bot 2.0 2023-11-17 00:52:41 -05:00
helper_scripts Even more error handling and stopped using Windows stupid ass backslash. 2024-03-02 14:48:15 -05:00
.gitignore Added exception handling for invalid license parsing, removed unused features. Probably will rewrite the whole thing again here soon. 2024-03-02 13:11:33 -05:00
README.md Create README.md 2023-11-17 01:01:34 -05:00
main.py Even more error handling and stopped using Windows stupid ass backslash. 2024-03-02 14:48:15 -05:00
requirements.txt CDRM-Bot 2.0 2023-11-17 00:52:41 -05:00

README.md

CDRM-Bot

Created by @TPD94 and proxy function by Radziu

Based on pywidevine

How to use the bot:

  1. Create CDRM-Bot folder

  2. Extract files to new folder

  3. Insert discord bot token into /discord/bot-token.txt

  4. Insert .WVD into /helper_scripts/TPD_Keys/CDMs

  5. Install the requirements with pip install -r requirements.txt

  6. Run the bot with python main.py

  7. Use /decrypt in your discord and fill out pssh, license_url, auth_bearer (optional), x_dt_auth (optional)

for authorization please post everything between the quotes including the word Bearer like so

Bearer tokenthatslongasfuck

for x-dt-auth-token enter the token as shown

Note

So far only works with sites that require only the 'Authorization': header and x-dt-auth-token: header . So far this includes HBO Max, Hulu, Disney, Spotify, TheRokuChannel etc..

Available commands

/decrypt - Decrypts widevine protected content

/search_database - Checks database for cached key by refrencing PSSH

/key_count - Sends message with total number of PSSH with keys cached.

/upload_database - Uploads database to fileditch

/uwu - Will send a NSFW picture to a specified channel (line 130)