Updated How to add custom license scheme yourself (markdown)
parent
63a5de2cf8
commit
c0393b443e
@ -2,7 +2,7 @@
|
||||
|
||||
* Basic level of network skill
|
||||
|
||||
* Basic level of Python skill (Especially about Pywidevine and Pyodide)
|
||||
* Basic level of Python skill (Especially about Pywidevine)
|
||||
|
||||
# Guide
|
||||
|
||||
@ -38,10 +38,14 @@ See [Contribution](https://github.com/FoxRefire/wvg/wiki/Contribution) for more
|
||||
|
||||
[*licUrl*](https://github.com/FoxRefire/wvg/blob/next/popup.js#L17): License URL as String
|
||||
|
||||
[*licHeaders*](https://github.com/FoxRefire/wvg/blob/next/popup.js#L18): Headers as JSON string, Automatically converted into JSON object in pre.py
|
||||
[*licHeaders*](https://github.com/FoxRefire/wvg/blob/next/popup.js#L18): Headers as JSON string, you can use it directly in scheme as object as it [automatically converted into JSON object in pre.py](https://github.com/FoxRefire/wvg/blob/next/python/pre.py#L90)
|
||||
|
||||
[*licBody*](https://github.com/FoxRefire/wvg/blob/next/popup.js#L19): Request payloads of License server as Base64 String. Use loadBody() API to able to load it in scheme.
|
||||
|
||||
[*corsFetch()*](https://github.com/FoxRefire/wvg/blob/next/python/pre.py#L47): Use this method instead of pyfetch if the license server requires that the Origin header be set to the original domain.
|
||||
|
||||
[*loadBody()*](https://github.com/FoxRefire/wvg/blob/next/python/pre.py#L67): Loads Base64 encoded requestBody into scheme
|
||||
[*loadBody()*](https://github.com/FoxRefire/wvg/blob/next/python/pre.py#L67): Loads Base64 encoded requestBody into scheme
|
||||
|
||||
[*challenge*](https://github.com/FoxRefire/wvg/blob/next/python/pre.py#L88): License challenge as bytes
|
||||
|
||||
[*licence*](https://github.com/FoxRefire/wvg/blob/next/python/after.py#L3): Set the acquired license into this variable and it will be automatically parsed by pywidevine.
|
Loading…
Reference in New Issue
Block a user