From bb1a87e3374acd7ce4e721d2cdd1bbe26fae15db Mon Sep 17 00:00:00 2001 From: xiongxiaoyang <1179705413@qq.com> Date: Fri, 18 Jul 2025 20:41:00 +0800 Subject: [PATCH] =?UTF-8?q?chore(sql):=20=E5=86=85=E7=BD=AE=E6=B5=B7?= =?UTF-8?q?=E5=A4=96=E4=B8=93=E7=94=A8=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/sql/novel_plus.sql | 41 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/doc/sql/novel_plus.sql b/doc/sql/novel_plus.sql index 577d3fd..0d15f51 100644 --- a/doc/sql/novel_plus.sql +++ b/doc/sql/novel_plus.sql @@ -3174,4 +3174,43 @@ CREATE TABLE `book_comment_reply` `create_user_id` bigint(20) DEFAULT NULL COMMENT '回复时间', PRIMARY KEY (`id`) ) ENGINE = InnoDB - DEFAULT CHARSET = utf8mb4 COMMENT ='小说评论回复表'; \ No newline at end of file + DEFAULT CHARSET = utf8mb4 COMMENT ='小说评论回复表'; + + +INSERT INTO crawl_source (source_name, crawl_rule, source_status, create_time + , update_time) +VALUES ('飘天文学网(海外专用)', '{ + "bookListUrl": "https://www.piaotia.com/booksort{catId}/{page}.html", + "catIdRule": { + "catId1": "1/0", + "catId2": "2/0", + "catId3": "3/0", + "catId4": "4/0", + "catId5": "6/0", + "catId6": "5/0" + }, + "bookIdPatten": "href=\\"https://www.piaotia.com/bookinfo/(\\\\d+/\\\\d+).html\\"", + "pagePatten": "(\\\\d+)/\\\\d+", + "totalPagePatten": "\\\\d+/(\\\\d+)", + "bookDetailUrl": "https://www.piaotia.com/bookinfo/{bookId}.html", + "bookNamePatten": "

([^/]+)

", + "authorNamePatten": "作    者:([^/]+)<", + "picUrlPatten": "文章状态:([^/]+)", + "bookStatusRule": { + "连载中": 0, + "已完成": 1 + }, + "descStart": " 内容简介:
", + "descEnd": "", + "filterDesc": "", + "bookIndexUrl": "https://www.piaotia.com/html/{bookId}/index.html", + "indexIdPatten": "
  • [^/]+
  • ", + "indexNamePatten": "
  • ([^/]+)
  • ", + "bookContentUrl": "https://www.piaotia.com/html/{bookId}/{indexId}.html", + "contentStart": "
    ", + "contentEnd": "", + "filterContent": "", + "charset": "gbk" +}', 0, '2025-07-13 18:57:39' + , '2025-07-13 18:57:39'); \ No newline at end of file