mirror of
https://github.com/201206030/novel-plus.git
synced 2025-07-05 16:56:39 +00:00
feat: 支持非utf-8编码的网站采集
This commit is contained in:
@ -24,4 +24,9 @@ public class Constants {
|
||||
* 爬取小说http请求失败重试次数
|
||||
*/
|
||||
public static final Integer HTTP_FAIL_RETRY_COUNT = 3;
|
||||
|
||||
/**
|
||||
* 爬虫默认编码
|
||||
*/
|
||||
public static final String CRAWL_DEFAULT_CHARSET = "UTF-8";
|
||||
}
|
||||
|
Reference in New Issue
Block a user