https://github.com/devlarley/widevinefetch
Parses 'Copy as fetch' of a license request, locates the challenge if license wrapping is being used, extracts the pssh data and re-sends the request.
https://github.com/devlarley/widevinefetch
Last synced: about 1 year ago
JSON representation
Parses 'Copy as fetch' of a license request, locates the challenge if license wrapping is being used, extracts the pssh data and re-sends the request.
- Host: GitHub
- URL: https://github.com/devlarley/widevinefetch
- Owner: DevLARLEY
- License: gpl-3.0
- Created: 2024-08-01T18:10:59.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-06T21:55:25.000Z (over 1 year ago)
- Last Synced: 2025-03-30T02:03:54.835Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 10.3 MB
- Stars: 104
- Watchers: 6
- Forks: 25
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## How does it work?
Parses 'Copy as fetch' of a license request, locates the challenge if license wrapping is being used, extracts the PSSH data and re-sends the request. No Manifest, Cookies or License wrapping integration required.
## Requirements
+ [L3 CDM](https://forum.videohelp.com/threads/408031-Dumping-Your-own-L3-CDM-with-Android-Studio)
+ [Python 3.12](https://www.python.org/)
## Installation
+ Place your CDM (as a Widevine Device) inside of the `cdm` folder.
+ Install the `requirements.txt` file
## Usage
1. Play a DRM protected video
2. Click `Copy -> Copy as fetch` on **the second license URL (the one with the long payload)**
3. Click `Process`
# Custom modules
Take a look at the [documentation](DOCUMENTATION.md) if you want to create your own module.
## Demo
> [!NOTE]
> This video is somewhat outdated, as you don't have to paste the string anymore. It'll be retrieved from your clipboard automatically.
[demo.webm](https://github.com/user-attachments/assets/fc3be401-0bf5-46b3-a051-6194bcbe97e9)
