diff --git a/doc/sql/novel_plus.sql b/doc/sql/novel_plus.sql index b4a8b12..1cbbf7e 100644 --- a/doc/sql/novel_plus.sql +++ b/doc/sql/novel_plus.sql @@ -3103,4 +3103,37 @@ where id = 16; update website_info set logo = '/images/logo.png', logo_dark='/images/logo.png' -where id = 1; \ No newline at end of file +where id = 1; + + +INSERT INTO crawl_source (source_name, crawl_rule, source_status, create_time, update_time) +VALUES ('香书小说网', '{ + "bookListUrl": "http://www.xbiqugu.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.xbiqugu.net/{bookId}/", + "bookNamePatten": "

([^/]+)

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

", + "picUrlPatten": "src=\\"(http://www.xbiqugu.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.xbiqugu.net/{bookId}/", + "indexIdPatten": "[^/]+", + "indexNamePatten": "([^/]+)", + "bookContentUrl": "http://www.xbiqugu.net/{bookId}/{indexId}.html", + "contentStart": "
", + "contentEnd": "

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

" +}', 0, '2024-06-01 10:11:39', '2024-06-01 10:11:39'); \ No newline at end of file