ngth > 0) {
                catIdRule["catId" + i] = catId;
            }
        }

        if (Object.keys(catIdRule).length == 0) {
            layer.alert("分类ID至少要填一项");
            return false;
        }
        crawlRule.catIdRule = catIdRule;


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


        if (bookIdPatten.length == 0) {
            layer.alert("列表页小说ID正则表达式必填");
            return false;
        }

        crawlRule.bookIdPatten = bookIdPatte