From 2b9a160789b9adea527a2bfb9e9e10c6776b80b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=88=9A=28noham=29=C2=B2?= <100566912+NohamR@users.noreply.github.com> Date: Sun, 16 Nov 2025 17:01:48 +0100 Subject: [PATCH] Add Oqee credentials to .env and update README usage --- .env.example | 6 ++++-- README.md | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index 587a114..f8fa47a 100644 --- a/.env.example +++ b/.env.example @@ -1,2 +1,4 @@ -API_KEY = 'your_api_key_here' -API_URL = 'https://example.com/get-cached-keys' \ No newline at end of file +OQEE_USERNAME=your_username +OQEE_PASSWORD=your_password +API_KEY=your_api_key_here +API_URL=https://example.com/get-cached-keys \ No newline at end of file diff --git a/README.md b/README.md index b594b68..c758d51 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,25 @@ pip install -r requirements.txt go install github.com/Eyevinn/mp4ff/cmd/mp4ff-decrypt@latest ``` +## Usage +1. Create a `.env` file in the root directory and add your Oqee credentials (otherwise the script will try to use IP login first): +```bash +OQEE_USERNAME=your_username +OQEE_PASSWORD=your_password +``` + +Optionally, you can set the following environment variables in the `.env` file: +```bash +OUTPUT_DIR=./downloads +API_KEY=your_api_key_here +API_URL=https://example.com/get-cached-keys +``` + +2. Run the main script: +```bash +python main.py +``` + ## DRM Decryption ### Instructions (Widevine)