From 3186dde128a4bc8798ef4aaf352b24529427054d Mon Sep 17 00:00:00 2001 From: Exhen Date: Tue, 5 May 2020 13:19:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E4=B8=BAhttp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SubtitleSearch - assrt.as | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SubtitleSearch - assrt.as b/SubtitleSearch - assrt.as index 3385acc..6211257 100644 --- a/SubtitleSearch - assrt.as +++ b/SubtitleSearch - assrt.as @@ -63,7 +63,7 @@ string HtmlSpecialCharsDecode(string str) str.replace("’", "'"); return str; } -string API_URL = "https://api.assrt.net"; +string API_URL = "http://api.assrt.net"; array> LangTable = { { "en", "English" }, @@ -76,7 +76,7 @@ string GetTitle() } string GetVersion() { - return "2.0"; + return "2.1"; } string GetDesc() { @@ -112,7 +112,7 @@ string ServerCheck(string User, string Pass) string ServerLogin(string User, string Pass) { Token = Pass; - string r = HostUrlGetString(API_URL+"/v1/sub/search?token=" + Pass + "&q=颐和园"); + string r = HostUrlGetString(API_URL+"/v1/sub/search?token=" + Pass + "&q=%E9%A2%90%E5%92%8C%E5%9B%AD"); JsonValue json; JsonReader jsonR; if (jsonR.parse(r,json))