涩图模块:空格替换成|以便支持多关键词搜索
This commit is contained in:
parent
5d4717d7a3
commit
dfd60919ad
@ -76,12 +76,12 @@ public class GetSeTu extends Model {
|
||||
keyBuilder.append(_key).append("&tag=");
|
||||
}
|
||||
key = keyBuilder.toString();
|
||||
key=key.substring(0,key.length()-4);
|
||||
key = key.substring(0, key.length() - 5);
|
||||
}
|
||||
if (r18) {
|
||||
url = "https://api.lolicon.app/setu/v2?" + model + "=" + URLEncoder.encode(key, StandardCharsets.UTF_8) + "&r18=1&size=regular";
|
||||
url = "https://api.lolicon.app/setu/v2?" + model + "=" + key + "&r18=1&size=regular";
|
||||
} else {
|
||||
url = "https://api.lolicon.app/setu/v2?" + model + "=" + URLEncoder.encode(key, StandardCharsets.UTF_8) + "&r18=0&size=regular";
|
||||
url = "https://api.lolicon.app/setu/v2?" + model + "=" + key + "&r18=0&size=regular";
|
||||
}
|
||||
}
|
||||
if (fuzzyR18) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user