-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathyinghua.json
25 lines (25 loc) · 4.32 KB
/
yinghua.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[{
"articleStyle": 2,
"customOrder": -101073,
"enableJs": true,
"enabled": true,
"enabledCookieJar": false,
"header": "",
"lastUpdateTime": 0,
"loadWithBaseUrl": true,
"ruleArticles": ".lpic li",
"ruleContent": "class.movurl@a@html&&class.thumb l@html&&class.info@html\n<js>\ndoc=org.jsoup.Jsoup.parse(result);\nimg=doc.select('img');\ninfo=doc.select('.info').html();\n\nzxb='';dxb='';\nlist=doc.select('a:not(:last-child)').toArray();\n\nfor(i in list){\na='http://www.iyinghua.io'+list[i].select('a').attr('href');\nb='http://www.iyinghua.io'+list[list.length-1-i].select('a').attr('href');\nzxb=zxb+'<button id=\"but'+i+'\" class=\"button\" value=\"'+a+'\">'+list[i].text()+'</button>';\ndxb=dxb+'<button id=\"dbut'+i+'\" class=\"button\" value=\"'+b+'\">'+list[list.length-1-i].text()+'</button>'\n}\n\nzx='<div id=\"zx\" style=\"display:block\">'+zxb+'</div>';\ndx='<div id=\"dx\" style=\"display:none\">'+dxb+'</div>';\n\n\nscript='(function(){$(\".button:first\").addClass(\"upBtn\");url=$(\".button:first\").val();video(url)})();\\n$(\".button\").click(function(){id=$(this).attr(\"id\");\\nid=\"#\"+id;\\n$(\".button\").removeClass(\"upBtn\");\\n$(id).addClass(\"upBtn\");\\nurl=$(id).val();video(url)});\\n$(\"li\").click(function(){id=$(this).attr(\"id\");\\nid=\"#\"+id;\\n$(\"li\").removeClass(\"active\");\\n$(id).addClass(\"active\");\\nif(id==\"#b1\"){$(\"#juji\").show();$(\"#info\").hide()}else{$(\"#info\").show();$(\"#juji\").hide()}});$(\"#dxb\").click(function(){if($(\"#dxb\").text()==\"倒序\"){$(\"#dxb\").text(\"正序\");$(\"#dx\").show();$(\"#zx\").hide();}else{$(\"#dxb\").text(\"倒序\");$(\"#dx\").hide();$(\"#zx\").show();}}) ';\n\ntap='<div id=\"tab\" style=\"display:inline;\"><ul><li id=\"b1\" class=\"active\">剧集</li><li id=\"b2\">剧情介绍</li><button id=\"dxb\" style=\"display:inline\">倒序</button></ul></div>';\n\nurl='function video(url){$.get(url,function(result){src=result.match(/data-vid=\"(.*?)\"/)[1];jx=\"https://tup.iyinghua.com/?vid=\"+src+\"&m=1\";$(\"#dd\").html(src);$(\"#ff\").attr(\"src\",jx)})};\\n'\n\njuji='<div id=\"juji\" style=\"display:block\">'+zx+dx+'</div>';\ninfo='<div id=\"info\" style=\"display:none\">'+img+info+'</div>';\n\nresult='<html><head> <script src=\"https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js\"> </script> </head>\\n<div id=\"dd\">\\n</div><iframe src=\"\" width=\"100%\" height=\"300px\" id=\"ff\" scrolling=\"no\"allowfullscreen=\"true\" webkitallowfullscreen=\"true\" frameborder=\"0\" autoplay=\"true\" mozallowfullscreen=\"true\"></iframe>\\n'+tap+'\\n<div id=\"html\" vspace=\"120\">\\n'+juji+info+'\\n</div>\\n<script>\\n'+url+script+'\\n</script>\\n</html>'\n</js>",
"ruleDescription": "",
"ruleImage": "//@src",
"ruleLink": "http://www.iyinghua.io{{//h2//@href}}",
"ruleNextPage": "text.下一页@href",
"rulePubDate": "//p/text()",
"ruleTitle": "//@title&&//font/text()&&//span[2]//text()##\\n##∣",
"singleUrl": false,
"sortUrl": "新番::http://www.iyinghua.io/{{java.timeFormat(Date.now()).match(/(\\d{4})/)[1]}}/\nOVA::http://www.iyinghua.io/36\n剧场::http://www.iyinghua.io/37\n真人::http://www.iyinghua.io/38\n搜索::http://www.iyinghua.io/search/{{source.getVariable()}}/\n日本动漫::http://www.iyinghua.io/japan/\n国产动漫::http://www.iyinghua.io/china/\n欧美动漫::http://www.iyinghua.io/american/\n动漫电影::http://www.iyinghua.io/movie/",
"sourceGroup": "影视",
"sourceIcon": "http://www.iyinghua.io/js/20180601/ico.png",
"sourceName": "樱花动漫",
"sourceUrl": "http://www.iyinghua.io",
"style": ".button{outline:none;width:90px; height:35px; border-radius: 10px; border:3px solid #fff; background-color: #E9E4E0; }\n.upBtn{outline:none;width:90px; height:35px; border-radius: 10px; border:3px solid #fff; background-color: #ffffcc; }\nimg {\nfloat:left;margin-right:30px;\nwidth:150px}\n\n#intro{float:left;\nborder-style:double;\nborder-color:black;padding:5px;\nborder-width:5px}\n#html{margin-top:20px}\n#dxb{border-radius: 1px; border:3px solid #fff; background-color: #E9E4E0;outline:none}\n\nul{\nborder-bottom:0;\n\theight:40px;\n}\nli {\n\tlist-style:none;\n\tfloat:left;\n\theight:34px;\n\tmargin-right:20px;\n\tcolor:#909090;\n\tline-height:34px;\n}\nli.active {\n\tcolor:#50B400;\n\tborder-bottom:3px solid #50B400;\n}\n#dd {\npadding:5px 0;\noverflow:scroll;\nbackground-color:#E9E4E0;\n}\nhtml{width:100%}"
}]