This commit is contained in:
FoxRefire 2024-04-22 22:12:01 +09:00
parent 907093defc
commit a8d006c888
2 changed files with 13 additions and 2 deletions

View File

@ -3,17 +3,24 @@ First, please read the technical explanation at the bottom of the README and oth
## Submit Schemes ## Submit Schemes
If you find a website where this extension does not work, you can contribute to this project by submitting a scheme. If you find a website where this extension does not work, you can contribute to this project by submitting a scheme.
Some websites do not send or receive challenge or license raw data directly, but instead encode it in Base64 or append JSON data, so the general Widevine scheme cannot retrieve the keys properly. Some websites do not send or receive challenge or license raw data directly, but instead encode it in Base64 or append JSON data, so the general Widevine scheme cannot retrieve the keys properly.
Such a trick is called License wrapping. Such a trick is called License wrapping.
For more informations: For more informations:
https://shaka-player-demo.appspot.com/docs/api/tutorial-license-wrapping.html https://shaka-player-demo.appspot.com/docs/api/tutorial-license-wrapping.html
https://reference.dashif.org/dash.js/latest/samples/drm/license-wrapping.html https://reference.dashif.org/dash.js/latest/samples/drm/license-wrapping.html
You can submit schemes in [python/schemes/](https://github.com/FoxRefire/wvg/tree/next/python/schemes) You can submit schemes in [python/schemes/](https://github.com/FoxRefire/wvg/tree/next/python/schemes).
Copy the `CommonWV.py` in the directory and edit it so that the request body sent to the license server and the final `license` variable value processed by Pywidevine and used to obtain the key are appropriate. Copy the `CommonWV.py` in the directory and edit it so that the request body sent to the license server and the final `license` variable value processed by Pywidevine and used to obtain the key are appropriate.
## JSON rules for License URL and scheme selection ## JSON rules for License URL and scheme selection
I plan to allow the extension to handle JSON rules for automatic selection of license URLs and schemes later. I plan to allow the extension to handle JSON rules for automatic selection of license URLs and schemes later.
JSON rules will be able to determine the appropriate license URL and scheme based on regular expressions. JSON rules will be able to determine the appropriate license URL and scheme based on regular expressions.
## Improve UI ## Improve UI
@ -21,10 +28,14 @@ Add CSS file to the extension to improve the form design.
## Translate Extension ## Translate Extension
If you would like to translate this extension into your native language, please contact me via Issues. If you would like to translate this extension into your native language, please contact me via Issues.
If there are many applicants, I'll prepare for localization. If there are many applicants, I'll prepare for localization.
## Host public API for legacy extension ## Host public API for legacy extension
Due to my Koyeb account has banned, Public API for legacy extension is down. Due to my Koyeb account has banned, Public API for legacy extension is down.
If you host your public API, please contact me at Issues. If you host your public API, please contact me at Issues.
Read here for how to deploy WVCore.Server. Read here for how to deploy WVCore.Server.
https://github.com/FoxRefire/wvg/issues/3#issuecomment-2066959592 https://github.com/FoxRefire/wvg/issues/3#issuecomment-2066959592

View File

@ -7,7 +7,7 @@ Looking for legacy version?: https://github.com/FoxRefire/wvg/tree/legacy
### Instalation ### Instalation
1. Donwload or clone this code 1. Download or clone this code
2. At the same directory of `manifest.json`(root directory of this extension), put the one of the following Android L3 CDM file(s). 2. At the same directory of `manifest.json`(root directory of this extension), put the one of the following Android L3 CDM file(s).
* Supported CDM Types * Supported CDM Types