  crawlRule.bookDetailUrl = bookDetailUrl;

        var bookNamePatten = $("#bookNamePatten").val();

        if (bookNamePatten.length == 0) {
            layer.alert("小说名的正则表达式必填");
            return false;
        }

        crawlRule.bookNamePatten = bookNamePatten;

        var authorNamePatten = $("#authorNamePatten").val();

        if (authorNamePatten.length == 0) {
            layer.alert("小说作者的正则表达式必填");
            return false;
        }

        c