mirror of
https://github.com/201206030/novel-plus.git
synced 2025-07-02 07:36:37 +00:00
perf(novel-crawl): 增加小说内容过滤
This commit is contained in:
@ -144,6 +144,9 @@
|
||||
示例:<b><script></b>
|
||||
<li><input type="text" id="contentEnd" class="s_input icon_key"
|
||||
placeholder="小说内容结束截取字符串:"></li>
|
||||
示例:<b><div\s+id="content_tip">\s*<b>([^/]+)</b>\s*</div></b>
|
||||
<li><textarea id="filterContent"
|
||||
placeholder="过滤内容(多个内容换行)" rows="5" cols="52"></textarea></li>
|
||||
|
||||
<li><input type="button" onclick="addCrawlSource()" name="btnRegister" value="提交"
|
||||
id="btnRegister" class="btn_red"></li>
|
||||
@ -405,6 +408,9 @@
|
||||
|
||||
crawlRule.contentEnd = contentEnd;
|
||||
|
||||
var filterContent = $("#filterContent").val();
|
||||
crawlRule.filterContent = filterContent;
|
||||
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
|
Reference in New Issue
Block a user