== 0) {
            layer.alert("小说内容结束截取字符串必填");
            return false;
        }

        crawlRule.contentEnd = contentEnd;

        var filterContent = $("#filterContent").val();
        crawlRule.filterContent = filterContent;

        var charset = $('#charset').val();
        if (charset) {
            crawlRule.charset = charset;
        }


        $.ajax({
            type: "POST",
            url: "/crawl/updateCrawlSource",
            data: {'id': sourceId, 'sourceN