From 2646e0d5414de5dec4231ba6a799e445eafc0256 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BD=87=E6=B4=92?= <78096245+PizazzGY@users.noreply.github.com> Date: Sat, 28 Sep 2024 22:33:38 +0800 Subject: [PATCH] Add files via upload --- JS/56动漫.js | 40 ++++++++++++++++++++++++++++++++++++++++ JS/动漫岛.js | 2 +- JS/动画片大全.js | 29 +++++++++++++++++++++++++++++ JS/路漫漫.js | 6 +++--- 4 files changed, 73 insertions(+), 4 deletions(-) create mode 100644 JS/56动漫.js create mode 100644 JS/动画片大全.js diff --git a/JS/56动漫.js b/JS/56动漫.js new file mode 100644 index 0000000..7670f90 --- /dev/null +++ b/JS/56动漫.js @@ -0,0 +1,40 @@ +var rule={ + title: '56动漫', + host: 'https://www.56dm.cc/', + url: 'https://www.56dm.cc/type/fyclass-fypage.html', + searchUrl: 'https://www.56dm.cc/search/**----------fypage---.html', + searchable: 2,//是否启用全局搜索, + quickSearch: 0,//是否启用快速搜索, + filterable: 0,//是否启用分类筛选, + headers: { + 'User-Agent': 'UC_UA', // "Cookie": "" + }, // class_parse:'.stui-header__menu li:gt(0):lt(7);a&&Text;a&&href;/(\\d+).html', + class_parse: '.snui-header-menu-nav li:gt(0):lt(6);a&&Text;a&&href;.*/(.*?).html', + play_parse: true, + lazy: `js: + if(/\\.(m3u8|mp4)/.test(input)){ + input = {parse:0,url:input} + }else{ + if(rule.parse_url.startsWith('json:')){ + let purl = rule.parse_url.replace('json:','')+input; + let html = request(purl); + input = {parse:0,url:JSON.parse(html).url} + }else{ + input= rule.parse_url+input; + } + } + `, + limit: 6, + 推荐: '.cCBf_FAAEfbc;li;a&&title;.lazyload&&data-original;.dAD_BBCI&&Text;a&&href', + double: true, // 推荐内容是否双层定位 + 一级: '.cCBf_FAAEfbc li;a&&title;a&&data-original;.dAD_BBCI&&Text;a&&href', + 二级: { + "title": "h1&&Text", + "img": ".stui-content__thumb .lazyload&&data-original", + "desc": ".cCBf_DABCcac__hcIdeE p:eq(0)&&Text;.cCBf_DABCcac__hcIdeE p:eq(1)&&Text;.cCBf_DABCcac__hcIdeE p:eq(2)&&Text;.cCBf_DABCcac__hcIdeE p:eq(3)&&Text;.cCBf_DABCcac__hcIdeE p:eq(4)&&Text", + "content": ".detail&&Text", + "tabs": ".channel-tab li", + "lists": ".play-list-content:eq(#id) li" + }, + 搜索: '.cCBf_FAAEfbc__dbD;a&&title;.lazyload&&data-original;.dAD_BBCI&&Text;a&&href;.cCBf_FAAEfbc__hcIdeE&&p:eq(0) p&&Text', + } \ No newline at end of file diff --git a/JS/动漫岛.js b/JS/动漫岛.js index a62f6fa..c35f9a8 100644 --- a/JS/动漫岛.js +++ b/JS/动漫岛.js @@ -2,7 +2,7 @@ var rule = { title:'动漫岛', // host:'http://www.dmd85.com', // host:'http://www.88dmw.com', - host:'http://www.dmd555.com', + host:'http://www.dmand5.com', // url:'/vod-list-id-fyclass-pg-fypage-order--by-{by}-class-{class}-year-{year}-letter--area--lang-.html', url:'/vod-list-id-fyclass-pg-fypage-order-fyfilter-area--lang-.html', filterable:1,//是否启用分类筛选, diff --git a/JS/动画片大全.js b/JS/动画片大全.js new file mode 100644 index 0000000..5dc79d4 --- /dev/null +++ b/JS/动画片大全.js @@ -0,0 +1,29 @@ +var rule ={ + title: '动画片大全', + host: 'https://www.dhpdq2.com/', + url: 'https://www.dhpdq2.com/katong/fyclass-fypage/', + searchUrl: '/vodsearch/**----------fypage---/', + class_parse: '.c_class li;a&&Text;a&&href;.*/(.*?)/', + searchable: 2, + quickSearch: 0, + filterable: 0, + headers: { + 'User-Agent': 'MOBILE_UA', + }, + play_parse: true, + lazy: '', + limit: 6, + 推荐: '.stui-vodlist;li;a&&title;a&&data-original;.pic-text&&Text;a&&href', + double: true, + 一级: '.stui-vodlist li;a&&title;a&&data-original;.pic-text&&Text;a&&href', + 二级: { + title: 'h1&&Text;.detail_list&&ul:eq(1)&&li&&a:eq(2)&&Text', + img: '.vodlist_thumb&&data-original', + desc: '.playinfo&&p:eq(0)&&Text;.playinfo&&p:eq(1)&&Text;.playinfo&&p:eq(2)&&Text;.playinfo&&p:eq(3)&&Text', + content: '.content:eq(1)', + tabs: '.relatesdh .title h3', + lists: '.relatesdh:eq(#id) li', + }, + 搜索: '*', + } + \ No newline at end of file diff --git a/JS/路漫漫.js b/JS/路漫漫.js index 84bac63..51e4b59 100644 --- a/JS/路漫漫.js +++ b/JS/路漫漫.js @@ -1,8 +1,8 @@ var rule = { title: "路漫漫", - host: "https://www.lmm88.com", + host: "http://www.lmm88.com", url: "/vod/show/id/fyclassfyfilter.html", - searchUrl: "https://m.lmm52.com/vod/search/page/fypage/wd/**.html", + searchUrl: 'http://www.lmm88.com/vod/search/page/fypage/wd/**.html', searchable: 2, quickSearch: 0, filterable: 1, @@ -36,5 +36,5 @@ var rule = { list_url: "a&&href" }, detailUrl: "", - 搜索: "*" + 搜索: '.row .video-img-box;h6 a&&Text;.lazyload&&data-src;.label&&Text;a&&href', } \ No newline at end of file