From 11b7b46c4297add946be08ee8f246b353b35654e Mon Sep 17 00:00:00 2001 From: xiongxiaoyang <1179705413@qq.com> Date: Tue, 13 Oct 2026 20:06:43 +0800 Subject: [PATCH] =?UTF-8?q?fix(novel-crawl):=20=E4=BF=AE=E5=A4=8D=E7=88=AC?= =?UTF-8?q?=E8=99=AB=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/sql/20261013.sql | 32 ++++++++++++++++++++++++++++++++ doc/sql/novel_plus.sql | 36 +++++++++++++++++++++++++++++++++++- 2 files changed, 67 insertions(+), 1 deletion(-) create mode 100644 doc/sql/20261013.sql diff --git a/doc/sql/20261013.sql b/doc/sql/20261013.sql new file mode 100644 index 0000000..34c5f41 --- /dev/null +++ b/doc/sql/20261013.sql @@ -0,0 +1,32 @@ +INSERT INTO crawl_source (source_name, crawl_rule, source_status, create_time, update_time) +VALUES ('香书小说网(2026)', '{ + "bookListUrl": "http://www.ibiqugu.net/fenlei/{catId}_{page}.html", + "catIdRule": { + "catId1": "1", + "catId2": "2", + "catId3": "3", + "catId4": "4", + "catId5": "6", + "catId6": "5" + }, + "bookIdPatten": "", + "pagePatten": "(\\\\d+)/\\\\d+", + "totalPagePatten": "\\\\d+/(\\\\d+)", + "bookDetailUrl": "http://www.ibiqugu.net/{bookId}/", + "bookNamePatten": "

([^/]+)

", + "authorNamePatten": "者:([^/]+)

", + "picUrlPatten": "src=\\"(http://www.ibiqugu.net/files/article/image/\\\\d+/\\\\d+/\\\\d+s\\\\.jpg)\\"", + "bookStatusRule": {}, + "descStart": "
", + "descEnd": "
", + "upadateTimePatten": "

最后更新:(\\\\d+-\\\\d+-\\\\d+\\\\s\\\\d+:\\\\d+:\\\\d+)

", + "upadateTimeFormatPatten": "yyyy-MM-dd HH:mm:ss", + "bookIndexUrl": "http://www.ibiqugu.net/{bookId}/", + "indexIdPatten": "[^/]+", + "indexNamePatten": "([^/]+)", + "bookContentUrl": "http://www.ibiqugu.net/{bookId}/{indexId}.html", + "contentStart": "
", + "contentEnd": "

", + "filterContent":"\\\\s*([^/]+)\\\\s*

" +}', 0, '2026-10-13 19:22:21', '2026-10-13 19:22:21'); + diff --git a/doc/sql/novel_plus.sql b/doc/sql/novel_plus.sql index 0d15f51..7f18bf5 100644 --- a/doc/sql/novel_plus.sql +++ b/doc/sql/novel_plus.sql @@ -3213,4 +3213,38 @@ VALUES ('飘天文学网(海外专用)', '{ "filterContent": "", "charset": "gbk" }', 0, '2025-07-13 18:57:39' - , '2025-07-13 18:57:39'); \ No newline at end of file + , '2025-07-13 18:57:39'); + + +INSERT INTO crawl_source (source_name, crawl_rule, source_status, create_time, update_time) +VALUES ('香书小说网(2026)', '{ + "bookListUrl": "http://www.ibiqugu.net/fenlei/{catId}_{page}.html", + "catIdRule": { + "catId1": "1", + "catId2": "2", + "catId3": "3", + "catId4": "4", + "catId5": "6", + "catId6": "5" + }, + "bookIdPatten": "", + "pagePatten": "(\\\\d+)/\\\\d+", + "totalPagePatten": "\\\\d+/(\\\\d+)", + "bookDetailUrl": "http://www.ibiqugu.net/{bookId}/", + "bookNamePatten": "

([^/]+)

", + "authorNamePatten": "者:([^/]+)

", + "picUrlPatten": "src=\\"(http://www.ibiqugu.net/files/article/image/\\\\d+/\\\\d+/\\\\d+s\\\\.jpg)\\"", + "bookStatusRule": {}, + "descStart": "
", + "descEnd": "
", + "upadateTimePatten": "

最后更新:(\\\\d+-\\\\d+-\\\\d+\\\\s\\\\d+:\\\\d+:\\\\d+)

", + "upadateTimeFormatPatten": "yyyy-MM-dd HH:mm:ss", + "bookIndexUrl": "http://www.ibiqugu.net/{bookId}/", + "indexIdPatten": "[^/]+", + "indexNamePatten": "([^/]+)", + "bookContentUrl": "http://www.ibiqugu.net/{bookId}/{indexId}.html", + "contentStart": "
", + "contentEnd": "

", + "filterContent":"\\\\s*([^/]+)\\\\s*

" +}', 0, '2026-10-13 19:22:21', '2026-10-13 19:22:21'); +