mirror of
https://github.com/NohamR/OqeeRewind.git
synced 2026-04-08 11:00:00 +00:00
Compare commits
2 Commits
83bf27b097
...
faec4b1a41
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
faec4b1a41 | ||
|
|
4ec51a10ea |
@@ -28,6 +28,7 @@ Cette application n'est pas affiliée à Oqee. Cette application vous permet de
|
|||||||
- Go ([Guide d'installation](https://go.dev/doc/install))
|
- Go ([Guide d'installation](https://go.dev/doc/install))
|
||||||
- ffmpeg
|
- ffmpeg
|
||||||
- [mp4ff-decrypt](https://github.com/Eyevinn/mp4ff)
|
- [mp4ff-decrypt](https://github.com/Eyevinn/mp4ff)
|
||||||
|
- **Connectivité IPv6** (le CDN est exclusivement IPv6)
|
||||||
```bash
|
```bash
|
||||||
go install github.com/Eyevinn/mp4ff/cmd/mp4ff-decrypt@latest
|
go install github.com/Eyevinn/mp4ff/cmd/mp4ff-decrypt@latest
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ This application is not endorsed by or affiliated with Oqee. This application en
|
|||||||
- Go ([Installation Guide](https://go.dev/doc/install))
|
- Go ([Installation Guide](https://go.dev/doc/install))
|
||||||
- ffmpeg
|
- ffmpeg
|
||||||
- [mp4ff-decrypt](https://github.com/Eyevinn/mp4ff)
|
- [mp4ff-decrypt](https://github.com/Eyevinn/mp4ff)
|
||||||
|
- **IPv6 connectivity** (the CDN is IPv6-only)
|
||||||
```bash
|
```bash
|
||||||
go install github.com/Eyevinn/mp4ff/cmd/mp4ff-decrypt@latest
|
go install github.com/Eyevinn/mp4ff/cmd/mp4ff-decrypt@latest
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -18,7 +18,9 @@ def fetch_drm_keys(kid: str, api_url: str, api_key: str) -> str:
|
|||||||
"Api-Key": api_key,
|
"Api-Key": api_key,
|
||||||
}
|
}
|
||||||
data = {"service": "oqee", "kid": kid}
|
data = {"service": "oqee", "kid": kid}
|
||||||
|
logger.debug("Fetching DRM key for KID: %s", kid)
|
||||||
response = requests.post(api_url, headers=headers, json=data, timeout=10)
|
response = requests.post(api_url, headers=headers, json=data, timeout=10)
|
||||||
|
logger.debug("DRM key fetch response: %s", response.text)
|
||||||
response.raise_for_status()
|
response.raise_for_status()
|
||||||
return response.json()["key"]
|
return response.json()["key"]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user