Update .gitignore and improve README instructions

This commit is contained in:
√(noham)²
2025-11-16 17:19:45 +01:00
parent 2b9a160789
commit 5962130d1d
2 changed files with 25 additions and 23 deletions

3
.gitignore vendored
View File

@@ -219,4 +219,5 @@ __marimo__/
# output # output
*.mkv *.mkv
video/ video/
dev_test/ dev_test/
widevine/

View File

@@ -10,27 +10,20 @@ This application is not endorsed by or affiliated with Oqee. This application en
- Python 3.x - Python 3.x
- Go ([Installation Guide](https://go.dev/doc/install)) - Go ([Installation Guide](https://go.dev/doc/install))
- ffmpeg - ffmpeg
- mp4ff-decrypt
### Steps
1. Clone the repository:
```bash
git clone https://github.com/NohamR/OqeeRewind
cd OqeeRewind
```
2. Install Python dependencies:
```bash
pip install -r requirements.txt
```
3. Install mp4ff-decrypt:
```bash ```bash
go install github.com/Eyevinn/mp4ff/cmd/mp4ff-decrypt@latest go install github.com/Eyevinn/mp4ff/cmd/mp4ff-decrypt@latest
``` ```
## Usage ### Steps
1. Create a `.env` file in the root directory and add your Oqee credentials (otherwise the script will try to use IP login first): Clone the repository and install dependencies:
```bash
git clone https://github.com/NohamR/OqeeRewind && cd OqeeRewind
pip install -r requirements.txt
```
### Configuration
Create a `.env` file in the root directory and add your Oqee credentials (otherwise the script will try to use IP login first):
```bash ```bash
OQEE_USERNAME=your_username OQEE_USERNAME=your_username
OQEE_PASSWORD=your_password OQEE_PASSWORD=your_password
@@ -43,11 +36,17 @@ API_KEY=your_api_key_here
API_URL=https://example.com/get-cached-keys API_URL=https://example.com/get-cached-keys
``` ```
2. Run the main script: ## Usage
### Via Command Line
```bash ```bash
python main.py python main.py
``` ```
### Via CLI Arguments
```bash
python main.py --output-dir ./downloads -id channel_id --start DATE --end DATA -sv best -sa best
```
## DRM Decryption ## DRM Decryption
### Instructions (Widevine) ### Instructions (Widevine)
@@ -56,18 +55,20 @@ In order to decrypt DRM content, you will need to have a dumped CDM, after that
## Todo ## Todo
- [x] Bruteforce implementation - [x] Bruteforce implementation
- [ ] Better README - [ ] Better README
- [ ] Lib used - [x] Lib used
- [ ] How to use - [x] How to use
- [ ] Lib to install (pip + mp4ff + ffmpeg) - [x] Lib to install (pip + mp4ff + ffmpeg)
- [ ] Demo GIF - [ ] Demo GIF
- [x] License - [x] License
- [ ] Lint code - [ ] Lint code
- [ ] Full implementation - [ ] Full implementation
- [ ] Frenc/English full translation - [ ] French/English full translation
- [ ] Add more comments in the code - [ ] Add more comments in the code
- [ ] Oqee widevine license implementation (.wvd) + mention README - [ ] Oqee widevine license implementation (.wvd) + mention README
- [ ] Better output system - [ ] Better output system
- [ ] Verify mp4ff installation - [ ] Verify mp4ff installation
- [ ] CLI arguments implementation + documentation
## Libraries Used ## Libraries Used
- [**aiohttp**](https://github.com/aio-libs/aiohttp) - Async HTTP client/server framework - [**aiohttp**](https://github.com/aio-libs/aiohttp) - Async HTTP client/server framework