{
"bookDelayTime": "",
"bookSingleThread": "否",
"bookSourceGroup": "",
"bookSourceName": "包子漫画₁",
"bookSourceType": "漫画",
"bookSourceUrl": "https:\/\/cn.baozimh.com",
"enable": true,
"httpUserAgent": "",
"lastUpdateTime": 0,
"loginUrl": "",
"loginUrlResult": "",
"ruleBookAuthor": "class.comics-detail__author@text",
"ruleBookContent": "@js:\n\nlet list = [];\nlet doc = org.jsoup.Jsoup.parse(result);\nfor (;;) {\n let arr = doc.select('.comic-contain amp-img');\n for (let i = 0; i < arr.size(); i++) {\n \/\/let text = arr[x];\n let url = String(arr.get(i).attr(\"src\") + \"#\" + \n arr.get(i).attr(\"width\") + \"x\" + \n arr.get(i).attr(\"height\")\n );\n\n list.push(url);\n }\n\n nextNode = doc.select('.comic-chapter > .next_chapter > a');\n if (!String(nextNode.text()).match(\/(下一页|下一頁)\/)) break;\n nextUrl = String(nextNode.attr('href'));\n doc = org.jsoup.Jsoup.connect(nextUrl).get();\n}\n\nlist;\n@Header:{Referer:thisPage}",
"ruleBookContentDecoder": "@js:\n\/*\nvar img = java.Bytes2Bitmap(result);\nvar w = img.getWidth();\nvar h = img.getHeight();\nvar m = baseUrl.match(\/#(\\d+)x(\\d+)\/);\nif (w!=m[1] || h!=m[2]) {\n img = java.zoomImg(img, m[1], m[2]);\n result = java.Bitmap2Bytes(img);\n}\nresult\n*\/\nvar Magua = new JavaImporter();\nMagua.importPackage(\n Packages.java.io,\n Packages.java.lang,\n Packages.android.util,\n Packages.android.graphics\n);\nwith(Magua) {\n function decode(imgBytes, width, height) {\n var bmp = BitmapFactory.decodeByteArray(imgBytes, 0, imgBytes.length);\n var bmpWidth = bmp.getWidth();\n var bmpHeight = bmp.getHeight();\n \/\/ 判断误差小于200直接返回图片bytes\n if (200 > Math.abs(((bmpWidth\/width) * height) - bmpHeight)) {\n return imgBytes;\n }\n var newbit = Bitmap.createScaledBitmap(bmp, width, height, true);\n var baos = new ByteArrayOutputStream();\n newbit.compress(Bitmap.CompressFormat.PNG, 100, baos);\n return baos.toByteArray();\n }\n}\nvar match = baseUrl.match(\/#(\\d+)x(\\d+)\/);\nwidth = Number(match[1]);\nheight = Number(match[2]);\nif (width == 1 && height == 1) {\n result;\n} else {\n decode(result, width, height);\n}",
"ruleBookKind": "class.tag-list@tag.span@text",
"ruleBookLastChapter": "class.supporting-text@tag.span@tag.a@text",
"ruleBookName": "class.comics-detail__title@text",
"ruleBookUrlPattern": "",
"ruleChapterId": "",
"ruleChapterList": "@css:div:contains(章节目录)~div.pure-g a.comics-chapters__item||div:contains(最新章节)+div.pure-g a.comics-chapters__item",
"ruleChapterName": "text",
"ruleChapterParentId": "",
"ruleChapterParentName": "",
"ruleChapterUrl": "",
"ruleChapterUrlNext": "",
"ruleContentUrl": "href",
"ruleContentUrlNext": "",
"ruleCoverDecoder": "",
"ruleCoverUrl": "class.pure-u-1-1@tag.amp-img@src",
"ruleFindUrl": "最新上架::https:\/\/cn.baozimh.com\/list\/new{,_error}\n全部::https:\/\/cn.baozimh.com\/classify?type=all®ion=all&state=all&filter=%2a&page=searchPage\n连载::https:\/\/cn.baozimh.com\/classify?type=all®ion=all&state=serial&filter=%2a&page=searchPage\n完结::https:\/\/cn.baozimh.com\/classify?type=all®ion=all&state=pub&filter=%2a&page=searchPage\n中国::https:\/\/cn.baozimh.com\/classify?type=all®ion=cn&state=all&filter=%2a&page=searchPage\n日本::https:\/\/cn.baozimh.com\/classify?type=all®ion=jp&state=all&filter=%2a&page=searchPage\n韩国::https:\/\/cn.baozimh.com\/classify?type=all®ion=kr&state=all&filter=%2a&page=searchPage\n欧美::https:\/\/cn.baozimh.com\/classify?type=all®ion=en&state=all&filter=%2a&page=searchPage\n恋爱::https:\/\/cn.baozimh.com\/classify?type=lianai®ion=all&state=all&filter=%2a&page=searchPage\n纯爱::https:\/\/cn.baozimh.com\/classify?type=chunai®ion=all&state=all&filter=%2a&page=searchPage\n古风::https:\/\/cn.baozimh.com\/classify?type=gufeng®ion=all&state=all&filter=%2a&page=searchPage\n异能::https:\/\/cn.baozimh.com\/classify?type=yineng®ion=all&state=all&filter=%2a&page=searchPage\n悬疑::https:\/\/cn.baozimh.com\/classify?type=xuanyi®ion=all&state=all&filter=%2a&page=searchPage\n剧情::https:\/\/cn.baozimh.com\/classify?type=juqing®ion=all&state=all&filter=%2a&page=searchPage\n科幻::https:\/\/cn.baozimh.com\/classify?type=kehuan®ion=all&state=all&filter=%2a&page=searchPage\n奇幻::https:\/\/cn.baozimh.com\/classify?type=qihuan®ion=all&state=all&filter=%2a&page=searchPage\n玄幻::https:\/\/cn.baozimh.com\/classify?type=xuanhuan®ion=all&state=all&filter=%2a&page=searchPage\n穿越::https:\/\/cn.baozimh.com\/classify?type=chuanyue®ion=all&state=all&filter=%2a&page=searchPage\n冒险::https:\/\/cn.baozimh.com\/classify?type=mouxian®ion=all&state=all&filter=%2a&page=searchPage\n推理::https:\/\/cn.baozimh.com\/classify?type=tuili®ion=all&state=all&filter=%2a&page=searchPage\n武侠::https:\/\/cn.baozimh.com\/classify?type=wuxia®ion=all&state=all&filter=%2a&page=searchPage\n格斗::https:\/\/cn.baozimh.com\/classify?type=gedou®ion=all&state=all&filter=%2a&page=searchPage\n战争::https:\/\/cn.baozimh.com\/classify?type=zhanzheng®ion=all&state=all&filter=%2a&page=searchPage\n热血::https:\/\/cn.baozimh.com\/classify?type=rexie®ion=all&state=all&filter=%2a&page=searchPage\n搞笑::https:\/\/cn.baozimh.com\/classify?type=gaoxiao®ion=all&state=all&filter=%2a&page=searchPage\n大女主::https:\/\/cn.baozimh.com\/classify?type=danuzhu®ion=all&state=all&filter=%2a&page=searchPage\n都市::https:\/\/cn.baozimh.com\/classify?type=dushi®ion=all&state=all&filter=%2a&page=searchPage\n总裁::https:\/\/cn.baozimh.com\/classify?type=zongcai®ion=all&state=all&filter=%2a&page=searchPage\n后宫::https:\/\/cn.baozimh.com\/classify?type=hougong®ion=all&state=all&filter=%2a&page=searchPage\n日常::https:\/\/cn.baozimh.com\/classify?type=richang®ion=all&state=all&filter=%2a&page=searchPage\n韩漫::https:\/\/cn.baozimh.com\/classify?type=hanman®ion=all&state=all&filter=%2a&page=searchPage\n少年::https:\/\/cn.baozimh.com\/classify?type=shaonian®ion=all&state=all&filter=%2a&page=searchPage\n其它::https:\/\/cn.baozimh.com\/classify?type=qita®ion=all&state=all&filter=%2a&page=searchPage\nABCD::https:\/\/cn.baozimh.com\/classify?type=all®ion=all&state=all&filter=ABCD&page=searchPage\nEFGH::https:\/\/cn.baozimh.com\/classify?type=all®ion=all&state=all&filter=EFGH&page=searchPage\nIJKL::https:\/\/cn.baozimh.com\/classify?type=all®ion=all&state=all&filter=IJKL&page=searchPage\nMNOP::https:\/\/cn.baozimh.com\/classify?type=all®ion=all&state=all&filter=MNOP&page=searchPage\nQRST::https:\/\/cn.baozimh.com\/classify?type=all®ion=all&state=all&filter=QRST&page=searchPage\nUVW::https:\/\/cn.baozimh.com\/classify?type=all®ion=all&state=all&filter=UVW&page=searchPage\nXYZ::https:\/\/cn.baozimh.com\/classify?type=all®ion=all&state=all&filter=XYZ&page=searchPage\n0-9::https:\/\/cn.baozimh.com\/classify?type=all®ion=all&state=all&filter=0-9&page=searchPage",
"ruleIntroduce": "class.comics-detail__desc@text",
"ruleSearchAuthor": "class.tags@text",
"ruleSearchCoverDecoder": "",
"ruleSearchCoverUrl": "tag.amp-img@src",
"ruleSearchKind": "",
"ruleSearchLastChapter": "",
"ruleSearchList": "class.comics-card",
"ruleSearchName": "class.comics-card__title@text",
"ruleSearchNoteUrl": "tag.a.0@href",
"ruleSearchUrl": "https:\/\/cn.baozimh.com\/search?q=searchKey",
"ruleSearchUrlNext": "",
"serialNumber": 8,
"sourceRemark": "https:\/\/www.webmota.com",
"weight": 0
}