From b813fbd30cb256a64e17ebec7fb00c2b8e0e6693 Mon Sep 17 00:00:00 2001 From: xiongxiaoyang <1179705413@qq.com> Date: Fri, 16 Oct 2026 07:57:30 +0800 Subject: [PATCH] =?UTF-8?q?fix(novel-crawl):=20=E8=A7=84=E5=88=99=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/sql/20261016.sql | 36 ++++++++++++++++++++++++++++++++++++ doc/sql/novel_plus.sql | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 doc/sql/20261016.sql diff --git a/doc/sql/20261016.sql b/doc/sql/20261016.sql new file mode 100644 index 0000000..efd448a --- /dev/null +++ b/doc/sql/20261016.sql @@ -0,0 +1,36 @@ + +INSERT INTO crawl_source (source_name, crawl_rule, source_status, create_time, update_time) VALUES ('书趣阁(2026)', '{ + "bookListUrl": "http://wap.xshuquge.net/sort/{catId}/0_{page}.html", + "catIdRule": { + "catId1": "1", + "catId2": "2", + "catId3": "3", + "catId4": "4", + "catId5": "7", + "catId6": "6", + "catId7": "8" + }, + "bookIdPatten": "href=\\"/s/(\\\\d+)\\\\.html\\"", + "pagePatten": "第(\\\\d+)/\\\\d+页", + "totalPagePatten": "第\\\\d+/(\\\\d+)页", + "bookDetailUrl": "http://wap.xshuquge.net/s/{bookId}.html", + "bookNamePatten": "

([^/]+)

", + "authorNamePatten": "

作者:([^/]+)

", + "picUrlPatten": "src=\\"(http://www.xshuquge.net/files/article/image/\\\\d+/\\\\d+/\\\\d+s\\\\.jpg)\\"", + "statusPatten": "

状态:([^/]+)

", + "bookStatusRule": { + "连载中": 0, + "完本": 1 + }, + "descStart": "
", + "descEnd": "最新章节推荐地址", + "filterDesc": "", + "bookIndexUrl": "http://www.xshuquge.net/txt/{bookId}/index.html", + "bookIndexStart": "
《", + "indexIdPatten": "
[^/]+
", + "indexNamePatten": "
([^/]+)
", + "bookContentUrl": "http://www.xshuquge.net/txt/{bookId}/{indexId}.html", + "contentStart": "
", + "contentEnd": "http://www.xshuquge.net", + "filterContent": "最新网址:www.xshuquge.net" +}', 1, '2020-05-18 12:02:34', '2026-10-15 17:00:00'); \ No newline at end of file diff --git a/doc/sql/novel_plus.sql b/doc/sql/novel_plus.sql index 7f18bf5..6dc1f89 100644 --- a/doc/sql/novel_plus.sql +++ b/doc/sql/novel_plus.sql @@ -3248,3 +3248,41 @@ VALUES ('香书小说网(2026)', '{ "filterContent":"\\\\s*([^/]+)\\\\s*
" }', 0, '2026-10-13 19:22:21', '2026-10-13 19:22:21'); + + +INSERT INTO crawl_source (source_name, crawl_rule, source_status, create_time, update_time) VALUES ('书趣阁(2026)', '{ + "bookListUrl": "http://wap.xshuquge.net/sort/{catId}/0_{page}.html", + "catIdRule": { + "catId1": "1", + "catId2": "2", + "catId3": "3", + "catId4": "4", + "catId5": "7", + "catId6": "6", + "catId7": "8" + }, + "bookIdPatten": "href=\\"/s/(\\\\d+)\\\\.html\\"", + "pagePatten": "第(\\\\d+)/\\\\d+页", + "totalPagePatten": "第\\\\d+/(\\\\d+)页", + "bookDetailUrl": "http://wap.xshuquge.net/s/{bookId}.html", + "bookNamePatten": "

([^/]+)

", + "authorNamePatten": "

作者:([^/]+)

", + "picUrlPatten": "src=\\"(http://www.xshuquge.net/files/article/image/\\\\d+/\\\\d+/\\\\d+s\\\\.jpg)\\"", + "statusPatten": "

状态:([^/]+)

", + "bookStatusRule": { + "连载中": 0, + "完本": 1 + }, + "descStart": "
", + "descEnd": "最新章节推荐地址", + "filterDesc": "", + "bookIndexUrl": "http://www.xshuquge.net/txt/{bookId}/index.html", + "bookIndexStart": "
《", + "indexIdPatten": "
[^/]+
", + "indexNamePatten": "
([^/]+)
", + "bookContentUrl": "http://www.xshuquge.net/txt/{bookId}/{indexId}.html", + "contentStart": "
", + "contentEnd": "http://www.xshuquge.net", + "filterContent": "最新网址:www.xshuquge.net" +}', 1, '2020-05-18 12:02:34', '2026-10-15 17:00:00'); +