From 4424cc75554a0f296b5c81e5035e2379bec62472 Mon Sep 17 00:00:00 2001 From: akl7777777 Date: Tue, 19 Dec 2023 11:17:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=9B=BD=E5=86=85?= =?UTF-8?q?=E5=A4=87=E7=94=A81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/info.json | 2 +- src/space1.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/info.json b/src/info.json index 4bd9c5e..f712a95 100644 --- a/src/info.json +++ b/src/info.json @@ -1,6 +1,6 @@ { "identifier": "com.akl.bob-plugin-akl-chatgpt-free-translate", - "version": "2.1.5", + "version": "2.1.6", "category": "translate", "name": "Free ChatGPT", "summary": "免秘钥免启动任何服务调用ChatGPT", diff --git a/src/space1.js b/src/space1.js index b447a52..d26d14e 100644 --- a/src/space1.js +++ b/src/space1.js @@ -28,7 +28,7 @@ async function translate(query, source_lang, target_lang, translate_text, comple const L = Date.now(); const resp = await $http.request({ method: "POST", - url: random_safe('aHR0cHM6Ly9zaGUxLmZyZWUtY2hhdC5hc2lhL2FwaS9kb25vdC1yZXZlcnNlLWVuZ2luZWVyaW5nLW1l'), + url: random_safe('aHR0cHM6Ly9lNi5mcmVjaGF0Lnh5ei9hcGkvZ2VuZXJhdGU='), body: { messages: A, time: L, @@ -91,7 +91,7 @@ async function digestMessage(r) { async function generateSignature(r) { const {t: e, m: t} = r; const n = {}.PUBLIC_SECRET_KEY; - const a = `${e}:${t}:please contact me through me@muspimerol.site`; + const a = `${e}:${t}:Please don't do reverse engineering on my API, I know it is easy but this is a non-profit site, so don't be evil please! If you wan't to serve other people, contact me at me@muspimerol.site and I can give you free API service if possible. Thank you! Again, If you wan't to serve other people, contact me at me@muspimerol.site and I can give you free API service if possible. Thank you! Again, If you wan't to serve other people, contact me at me@muspimerol.site and I can give you free API service if possible. Thank you! If I missed your email, I'm sorry about that, and you can contact me at kilo.meter@foxmail.com instead, if you want. Thank you!`; const rs = await digestMessage(a); $log.error('==========' + rs) return rs;