From 7ec8ad83ea8247ef721250ebb8dbf53818ae6425 Mon Sep 17 00:00:00 2001 From: FoxRefire <155989196+FoxRefire@users.noreply.github.com> Date: Tue, 30 Jul 2024 16:57:00 +0900 Subject: [PATCH] Update error messages New requests are no longer accepted. In most cases this is very easy to create. Consider opening PR after created it yourself --- python/after.py | 2 +- python/pre.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/after.py b/python/after.py index 555cf4c..3734e3c 100644 --- a/python/after.py +++ b/python/after.py @@ -2,7 +2,7 @@ try: cdm.parse_license(session_id, licence) except Exception as e: - js.document.getElementById('result').value="sch3m3n0t6upp0rt:y0ucanr3qu3st0rsu6mit\n\n[MPD?]\nhttps://gist.github.com/FoxRefire/fd606ec29a9bfa1f1bef897e0dc3a231" + js.document.getElementById('result').value="sch3m3n0t6upp0rt:y0ucancr3at31ty0u4s31f\n\n[MPD?]\nhttps://github.com/FoxRefire/wvg/wiki/How-to-add-custom-license-scheme-yourself" raise Exception(e) # get keys diff --git a/python/pre.py b/python/pre.py index e1848a9..7e418c4 100644 --- a/python/pre.py +++ b/python/pre.py @@ -40,7 +40,7 @@ async def loadCdm(): remote_conf=await (await pyfetch("remote.json")).json() return RemoteCdm(**remote_conf) except Exception as e: - js.document.getElementById('result').value="n0suchd3v1c3f113:r3adth3fuck1ngma2ua1\n\n[MPD?]\nhttps://github.com/FoxRefire/wvg?tab=readme-ov-file#instalation" + js.document.getElementById('result').value="n0suchd3v1c3f113:r3adth3fuck1ngma2ua1\n\n[MPD?]\nhttps://github.com/FoxRefire/wvg/wiki/Getting-started#2-put-cdm-files" raise Exception(e) # Define corsFetch API for requesting server that require origin header