🍩笔趣阁yyk[自写]
https://www.yuyouku.com/#xsw8093
xiang-shiwang (3664)2024/08/26
该用户很懒,什么介绍也没有写!
{ "bookSourceComment": "", "bookSourceGroup": "", "bookSourceName": "🍩笔趣阁yyk[自写]", "bookSourceType": 0, "bookSourceUrl": "https:\/\/www.yuyouku.com\/#xsw8093", "customOrder": -58296, "enabled": true, "enabledCookieJar": true, "enabledExplore": true, "exploreUrl": "", "header": "{\n 'User-Agent': 'Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/81.0.4044.138 Safari\/537.36',\n \"Cookie\":\"0\"\n}", "lastUpdateTime": "1724657505864", "respondTime": 180000, "ruleBookInfo": { "author": "@get:{a}", "coverUrl": "@get:{c}", "init": "@put:{\nn:\"[property$=book_name|title]@content\",\na:\"[property$=author]@content\",\nk:\"[property~=category|status|update_time]@content\",\nl:\"[property$=latest_chapter_name]@content\",\ni:\"[property$=description]@content\",\nc:\"[property$=image]@content\",\ntac:\"[property$=read_url]@content\"\n}", "intro": "@get:{i}", "kind": "@get:{k}", "lastChapter": "@get:{l}", "name": "@get:{n}", "tocUrl": "@get:{tac}", "wordCount": "" }, "ruleContent": { "content": "#txtContent@html\n@js:\n\/*\nresult=result.replace(\/<br>\/g,\"<p><\/p>\").replace(\/ \/g,\"<p><\/p>\")\n*\/\nresult", "nextContentUrl": "text.下一@href\n@js:\nif(result){\n result=result[0].includes(\"_\")?result:\"\";\n}", "replaceRegex": "" }, "ruleExplore": { "author": "", "bookList": "", "bookUrl": "", "coverUrl": "", "intro": "", "kind": "", "lastChapter": "", "name": "" }, "ruleSearch": { "author": "div.3@text", "bookList": ".list-group-item[1:-2]", "bookUrl": "div.1@a@href", "checkKeyWord": "剑来", "coverUrl": "", "intro": "", "kind": "div.0@i@text", "lastChapter": "div.2@a@text", "name": "div.1@a@text", "wordCount": "" }, "ruleToc": { "chapterList": "#chapters-list@li@a", "chapterName": "text", "chapterUrl": "href", "nextTocUrl": "option@value", "updateTime": "" }, "searchUrl": "@js:\nvar su=source.getKey()\nvar htmlUrl=java.get(su,{}).headers('Location')\njava.log(`重定向:${htmlUrl[0]}`)\nvar posturl=htmlUrl[0]?htmlUrl[0]:(su.includes(\"#\")?su.match(\/([^\\#]+)\\#\/)[1]:su)\nposturl = posturl.slice(-1)=='\/'?posturl.slice(0,-1):posturl\ncookie.removeCookie(posturl)\njava.log(`请求:${posturl}`)\n\n\nvar html = java.ajax(posturl);\n\nsearch = org.jsoup.Jsoup.parse(html).select('form[role=form]').attr('action');\n\n\nposturl+search+\"?keyword={{key}},\"+JSON.stringify({\r\n \"method\": \"GET\"\r\n})", "weight": 0 }