[{"bookDelayTime":"","bookSingleThread":"否","bookSourceGroup":"🌐【翻墙】; ❤️‍🔥【耽美】","bookSourceName":"香香腐宅❤️‍🔥🌐","bookSourceType":"漫画","bookSourceUrl":"https:\/\/boylove.cc","enable":true,"httpUserAgent":"","lastUpdateTime":0,"loginUrl":"","loginUrlResult":"https:\/\/boylove.cc\/home\/api\/cate\/tp\/1-0-0-1-1-0-1","ruleBookAuthor":"","ruleBookContent":"<js>\n\nvar list = [];\nvar doc = org.jsoup.Jsoup.parse(result);\nvar arr = doc.select(\"img.lazy\").toArray();\n\nfor (let i in arr) {\n    var img = arr[i].attr(\"data-original\");\n    if ( img.search(\"w=\")!=\"-1\" ) {\n        var str = result.split(\"var num\")[1];\n        var num = str.match(\/\\d+\/)[0];\n        list.push(img + \"_\" + num);\n    } else {\n        list.push(img);\n    }\n}\nlist;\n\n<\/js>","ruleBookContentDecoder":"@js:\ntry {\n    var Magua = new JavaImporter();\n    Magua.importPackage(\n        Packages.java.io,\n        Packages.android.graphics\n    );\n\n    with (Magua) {\n        if (baseUrl.search(\"w=\")!=-1 ) {\n            var num = baseUrl.match(\/\\d+\/g).slice(-1);\n            var img = BitmapFactory.decodeByteArray(result, 0, result.length);\n            var height = img.getHeight();\n            var width = img.getWidth();\n            var x = width \/ num;\n            var newImg = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);\n            let canvas = new Canvas(newImg);\n            for (let i = 1; i <= num; i++) {\n                canvas.drawBitmap(Bitmap.createBitmap(img, x * (i - 1), 0, x, height), width - x * i, 0, null);\n            }\n            var newbit = new ByteArrayOutputStream();\n            newImg.compress(Bitmap.CompressFormat.PNG, 100, newbit);\n            newbit.toByteArray();\n        } else {\n            result;\n        }\n    }\n} catch (err) {\n    ycy.toast(err.toString());\n}","ruleBookKind":"","ruleBookLastChapter":"class.stui-content__detail@class.data.4@textNodes","ruleBookName":"","ruleBookUrlPattern":"","ruleChapterId":"","ruleChapterList":":_H006_a+v02+re9De2ZOkCOVjz9Q==","ruleChapterName":"title","ruleChapterParentId":"","ruleChapterParentName":"","ruleChapterUrl":"@js:\nid=result.match(\/manhua_id: (\\d+).*?,\/)[1];\n'https:\/\/boylove.cc\/home\/api\/chapter_list\/tp\/'+id+'-1-0-10'","ruleChapterUrlNext":"","ruleContentUrl":"https:\/\/boylove.cc\/home\/book\/capter?id={$.id}","ruleContentUrlNext":"","ruleCoverDecoder":"","ruleCoverUrl":"","ruleFindUrl":"连载::https:\/\/boylove.cc\/home\/api\/cate\/tp\/1-0-0-1-searchPage-0-1\n已完结::https:\/\/boylove.cc\/home\/api\/cate\/tp\/1-0-1-1-searchPage-0-1\n清水::https:\/\/boylove.cc\/home\/api\/cate\/tp\/1-0-2-1-searchPage-1-1\n有肉::https:\/\/boylove.cc\/home\/api\/cate\/tp\/1-0-2-1-searchPage-2-1","ruleIntroduce":".detail-text@text","ruleSearchAuthor":"auther","ruleSearchCoverDecoder":"","ruleSearchCoverUrl":"image","ruleSearchKind":"keyword","ruleSearchLastChapter":"last_chapter_title","ruleSearchList":"result.list","ruleSearchName":"title@put:{id:$.id}","ruleSearchNoteUrl":"https:\/\/boylove.cc\/home\/book\/index\/id\/{$.id}","ruleSearchUrl":"https:\/\/boylove.cc\/home\/api\/searchk?keyword=searchKey&type=1&pageNo=searchPage","ruleSearchUrlNext":"","serialNumber":10,"sourceRemark":"仅适合2.4.0，设置中需要关闭\"预读下一章\"","weight":0}]