Utility To Get Keys, Decryption, and File Merging
- Install Python (above 3.5 is Recommended)
- Upgrade Pip and install setuptools, wheel and py2exe
python -m pip install --upgrade pip
python -m pip install -U pip setuptools wheel py2exe
- Install all required Packages from requirements.txt
pip install -U "https://rajeshwaran2001.github.io/Pyinstaller/x86_64/pyinstaller-6.3.0-py3-none-any.whl" -r requirements.txt
pip install -r requirements.txt
If You Don't want Firebase in your Version ( Reduce 10 MB of exe) Remove firebase-admin from requirements.txt and Follow Instructions to Remove Firebase Code
- Create a .env File under assets dir with the below values
Any API Forked From Getwvkeys can be used (cdrm-project, keysdb, getwvkeys & others).
API_URL = < API URL >
X_API_KEY = < API KEY >
Firebase Is Added in the original Version to create a new service account key from the Firebase console and Store that file inside the assets dir
- Run update_version.py to update the version
python update_version.py -c < Channel Name>
- To Build Exe
pyinstaller --onefile --add-data "assets;assets" --name="DRM & Media Tool" --windowed --icon=assets\\logo.ico main.py --noconsole
We have exciting plans for the future development of this project. Here's a glimpse of what's coming:
- Feature: Include Support to decrypt Webm Files.
- Enhancement: Include FFmpeg, mp4decrypt and Shaka packager.
- Upcoming: Include Yt-dlp to Download files & Add Support For Using of own CDM.
I welcome contributions and feedback on these future plans. If you'd like to get involved or share your thoughts, please open an issue or reach out to me.
https://stackoverflow.com/questions/9913032/how-can-i-extract-audio-from-video-with-ffmpeg
https://plainenglish.io/blog/pyinstaller-exe-false-positive-trojan-virus-resolved-b33842bd3184