mirror of
https://github.com/NohamR/OqeeRewind.git
synced 2026-01-10 08:08:20 +00:00
Add pyproject.toml and uv support, update README
This commit is contained in:
20
README.md
20
README.md
@@ -7,7 +7,8 @@ This application is not endorsed by or affiliated with Oqee. This application en
|
|||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
### Prerequisites
|
### Prerequisites
|
||||||
- Python 3.x
|
- Python 3.9+
|
||||||
|
- [uv](https://docs.astral.sh/uv/) (recommended) or pip
|
||||||
- Go ([Installation Guide](https://go.dev/doc/install))
|
- Go ([Installation Guide](https://go.dev/doc/install))
|
||||||
- ffmpeg
|
- ffmpeg
|
||||||
- mp4ff-decrypt
|
- mp4ff-decrypt
|
||||||
@@ -17,6 +18,14 @@ go install github.com/Eyevinn/mp4ff/cmd/mp4ff-decrypt@latest
|
|||||||
|
|
||||||
### Steps
|
### Steps
|
||||||
Clone the repository and install dependencies:
|
Clone the repository and install dependencies:
|
||||||
|
|
||||||
|
**Using uv (recommended - faster):**
|
||||||
|
```bash
|
||||||
|
git clone https://github.com/NohamR/OqeeRewind && cd OqeeRewind
|
||||||
|
uv sync
|
||||||
|
```
|
||||||
|
|
||||||
|
**Using pip:**
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/NohamR/OqeeRewind && cd OqeeRewind
|
git clone https://github.com/NohamR/OqeeRewind && cd OqeeRewind
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
@@ -38,13 +47,20 @@ API_URL=https://example.com/get-cached-keys
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
### Via Command Line
|
### Via Command Line
|
||||||
|
|
||||||
|
**Using uv:**
|
||||||
|
```bash
|
||||||
|
uv run main.py
|
||||||
|
```
|
||||||
|
|
||||||
|
**Using Python directly:**
|
||||||
```bash
|
```bash
|
||||||
python main.py
|
python main.py
|
||||||
```
|
```
|
||||||
|
|
||||||
### Via CLI Arguments
|
### Via CLI Arguments
|
||||||
```bash
|
```bash
|
||||||
python main.py --output-dir ./downloads -id channel_id --start DATE --end DATA -sv best -sa best
|
uv run main.py --output-dir ./downloads -id channel_id --start DATE --end DATA -sv best -sa best
|
||||||
```
|
```
|
||||||
|
|
||||||
## DRM Decryption
|
## DRM Decryption
|
||||||
|
|||||||
31
pyproject.toml
Normal file
31
pyproject.toml
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
[project]
|
||||||
|
name = "oqee-rewind"
|
||||||
|
version = "0.1.0"
|
||||||
|
description = "Oqee TV Live Downloader"
|
||||||
|
readme = "README.md"
|
||||||
|
requires-python = ">=3.9"
|
||||||
|
license = { file = "LICENSE" }
|
||||||
|
authors = [
|
||||||
|
{ name = "NohamR" }
|
||||||
|
]
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
"aiohttp==3.13.2",
|
||||||
|
"InquirerPy==0.3.4",
|
||||||
|
"python-dotenv==1.2.1",
|
||||||
|
"pywidevine==1.9.0",
|
||||||
|
"Requests==2.32.5",
|
||||||
|
]
|
||||||
|
|
||||||
|
[project.scripts]
|
||||||
|
oqee-rewind = "main:main"
|
||||||
|
|
||||||
|
[build-system]
|
||||||
|
requires = ["hatchling"]
|
||||||
|
build-backend = "hatchling.build"
|
||||||
|
|
||||||
|
[tool.hatch.build.targets.wheel]
|
||||||
|
packages = ["."]
|
||||||
|
|
||||||
|
[dependency-groups]
|
||||||
|
dev = []
|
||||||
Reference in New Issue
Block a user