57 lines
1.5 KiB
Markdown
57 lines
1.5 KiB
Markdown
## Install
|
|
1) Create a new python virtual environment using `python -m venv CDRM-Keys` or `python3 -m venv CDRM-Keys`
|
|
2) Download / Git clone repository and extract the contents into the newly created virtual environment
|
|
3) Change directory into the new CDRM-Keys folder
|
|
4) Activate the virtual environment
|
|
> Windows - call Script/activate.bat
|
|
>
|
|
> Linux - source bin/activate
|
|
5) Run the application `python CDRM-Keys.py`
|
|
|
|
|
|
## Proxy
|
|
Proxy can be added in `Config.yaml` using the 2 letter country code.
|
|
**(NOTE: A lot of proxies are dead, you may need to repeat requests until a working one is found)**
|
|
```yaml
|
|
Proxy: US
|
|
```
|
|
|
|
|
|
## StreamFab API Reproxy
|
|
Reproxy support for https://chrome.pixelpenguinparade.org/api can be enabled by adding these lines to your `Config.yaml` for `CDRM-Keys`
|
|
```yaml
|
|
PPP:
|
|
api_key: YourAPIKey
|
|
api_url: https://chrome.pixelpenguinparade.org/api
|
|
```
|
|
|
|
Then starting the program and choosing
|
|
> 1. CDRM-Keys API Mode
|
|
> 2. PPP StreamFab API
|
|
|
|
For Devine / VineTrimmer support add these lines to `devine.yaml` or VineTrimmer equivalent
|
|
|
|
```yaml
|
|
remote_cdm:
|
|
- name: "CDRM_Keys_API"
|
|
device_type: CHROME
|
|
system_id: 2710
|
|
security_level: 3
|
|
host: "http://127.0.0.1:5000/remote_cdm"
|
|
secret: "CDRM-Keys"
|
|
device_name: "PPP"
|
|
cdm:
|
|
default: CDRM_Keys_API
|
|
```
|
|
|
|
For FoxRefire / CDM-Projects extension, add this to your `remote.json`
|
|
```js
|
|
{
|
|
"device_type": "CHROME",
|
|
"system_id": 2710,
|
|
"security_level":3,
|
|
"host": "http://127.0.0.1:5000/remote_cdm",
|
|
"secret": "CDRM-Keys",
|
|
"device_name": "PPP"
|
|
}
|
|
``` |