Skip to content

Commit

Permalink
改为http
Browse files Browse the repository at this point in the history
  • Loading branch information
Exhen authored May 5, 2020
1 parent bb4dd93 commit 3186dde
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions SubtitleSearch - assrt.as
Original file line number Diff line number Diff line change
Expand Up @@ -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<array<string>> LangTable =
{
{ "en", "English" },
Expand All @@ -76,7 +76,7 @@ string GetTitle()
}
string GetVersion()
{
return "2.0";
return "2.1";
}
string GetDesc()
{
Expand Down Expand Up @@ -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))
Expand Down

0 comments on commit 3186dde

Please sign in to comment.