mirror of
https://github.com/LamGC/ContentGrabbingJi.git
synced 2025-04-30 06:37:36 +00:00
[Delete] 移除无用的getSearchBody(String, ...)
方法;
[Delete] CacheStoreCentral 移除无用的方法;
This commit is contained in:
parent
a6ac8a6b2b
commit
3b066485e3
@ -14,7 +14,6 @@ import net.lamgc.cgj.pixiv.PixivSearchLinkBuilder;
|
||||
import net.lamgc.cgj.pixiv.PixivURL;
|
||||
import net.lamgc.cgj.util.Locker;
|
||||
import net.lamgc.cgj.util.LockerMap;
|
||||
import net.lamgc.cgj.util.PixivUtils;
|
||||
import net.lamgc.cgj.util.URLs;
|
||||
import net.lamgc.utils.encrypt.MessageDigestUtils;
|
||||
import net.lz1998.cq.utils.CQCode;
|
||||
@ -406,30 +405,6 @@ public final class CacheStoreCentral {
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取搜索结果
|
||||
* @param content 搜索内容
|
||||
* @param type 类型
|
||||
* @param area 范围
|
||||
* @param includeKeywords 包含关键词
|
||||
* @param excludeKeywords 排除关键词
|
||||
* @param contentOption 内容类型
|
||||
* @return 返回完整搜索结果
|
||||
* @throws IOException 当请求发生异常, 或接口返回异常信息时抛出.
|
||||
*/
|
||||
public JsonObject getSearchBody(
|
||||
String content,
|
||||
String type,
|
||||
String area,
|
||||
String includeKeywords,
|
||||
String excludeKeywords,
|
||||
String contentOption,
|
||||
int pageIndex
|
||||
) throws IOException {
|
||||
return getSearchBody(PixivUtils.buildSearchLinkBuilderFromString(content, type, area,
|
||||
includeKeywords, excludeKeywords, contentOption, pageIndex));
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取搜索结果
|
||||
* @param searchBuilder 需要执行搜索的搜索链接构造器
|
||||
|
Loading…
Reference in New Issue
Block a user