From 7e48bf968091a9f870e48824e406d3c2a6723291 Mon Sep 17 00:00:00 2001 From: gaotianliuyun <58679624+gaotianliuyun@users.noreply.github.com> Date: Wed, 26 Oct 2022 10:25:24 +0800 Subject: [PATCH] Add files via upload --- js/NY影院.js | 19 +++++++++++ js/兰花影院.js | 12 +++++++ js/海盗听书.js | 90 +++++++++++++++++++++++++------------------------- js/爱看影视.js | 25 +++++++++----- js/独播库.js | 16 +++++++++ js/豆芽影院.js | 7 ++++ 6 files changed, 115 insertions(+), 54 deletions(-) create mode 100644 js/NY影院.js create mode 100644 js/兰花影院.js create mode 100644 js/独播库.js create mode 100644 js/豆芽影院.js diff --git a/js/NY影院.js b/js/NY影院.js new file mode 100644 index 00000000..d62f7789 --- /dev/null +++ b/js/NY影院.js @@ -0,0 +1,19 @@ +var rule={ + title:'NY影院', + host:'https://www.nycvod.com', + url:'/vodshow/fyclass--------fypage---.html', + searchUrl:'/vodsearch/**----------fypage---.html', + searchable:2,//是否启用全局搜索, + quickSearch:0,//是否启用快速搜索, + filterable:0,//是否启用分类筛选, + class_parse:'.nav-menu-items&&li;a&&Text;a&&href;.*/(.*?).html', + cate_exclude:'演员', + play_parse:true, + lazy:'', + limit:6, + 推荐:'.module-list;.module-items&&.module-item;a&&title;img&&data-src;.module-item-text&&Text;a&&href', + double:true, // 推荐内容是否双层定位 + 一级:'.module-items .module-item;a&&title;img&&data-src;.module-item-text&&Text;a&&href', + 二级:{"title":"h1&&Text;.tag-link&&Text","img":".module-item-pic&&img&&data-src","desc":".video-info-items:eq(-2)&&Text;.video-info-items:eq(-1)&&Text;.video-info-items:eq(-2)&&Text;.video-info-items:eq(1)&&.video-info-item&&Text;.video-info-items:eq(0)&&.video-info-item&&Text","content":".vod_content&&Text","tabs":".module-tab-item","lists":".module-player-list:eq(#id)&&.scroll-content&&a"}, + 搜索:'.module-items .module-search-item;h3&&Text;*;.video-serial&&Text;*', +} diff --git a/js/兰花影院.js b/js/兰花影院.js new file mode 100644 index 00000000..6aa940df --- /dev/null +++ b/js/兰花影院.js @@ -0,0 +1,12 @@ +var rule = Object.assign(muban.vfed,{ +title:'兰花影院', +host:'https://www.lanhua.tv/', +'User-Agent':'MOBILE_UA', +class_parse:'ul.top_nav&&li;a&&Text;a&&href;./(\\d+).html', +cate_exclude:'午夜影院|VIP蓝光影院|电视直播', +推荐:'.cbox_list;ul&&li;a&&title;.lazyload&&data-original;.pic_text.text_right&&Text;a&&href', +double:true, // 推荐内容是否双层定位 +一级:'.vodlist&&li;a&&title;.lazyload&&data-original;.pic_text.text_right&&Text;a&&href', +二级:{"title":".hd_tit&&Text;.content_min&&ul&&li&&Text","img":".lazyload&&data-original","desc":";;;.content_min&&ul&&li:eq(2) a&&Text;.content_min&&ul&&li:eq(3) a&&Text","content":".context&&span&&Text","tabs":".play_source_tab&&.active","lists":".content_playlist:eq(#id) li"}, +搜索:'.vodlist&&li;*;*;*;*', +}); \ No newline at end of file diff --git a/js/海盗听书.js b/js/海盗听书.js index b144ea03..9fc7e363 100644 --- a/js/海盗听书.js +++ b/js/海盗听书.js @@ -1,45 +1,45 @@ -// 道长 drpy仓库 https://gitcode.net/qq_32394351/dr_py -// 道长 drpy安卓本地搭建说明 https://gitcode.net/qq_32394351/dr_py/-/blob/master/%E5%AE%89%E5%8D%93%E6%9C%AC%E5%9C%B0%E6%90%AD%E5%BB%BA%E8%AF%B4%E6%98%8E.md -// 道长 drpy写源 模板规则说明 https://gitcode.net/supertlo/dr_py#%E6%A8%A1%E6%9D%BF%E8%A7%84%E5%88%99%E8%AF%B4%E6%98%8E -// 道长 drpy写源 套模模版 https://gitcode.net/qq_32394351/dr_py/-/raw/master/js/%E6%A8%A1%E6%9D%BF.js -// 道长 drpy写源 影片教程 http://101.34.67.237:5244/%E6%95%99%E8%82%B2/drpy -// 道长 drpy写源 影片教程(m3u8切片) https://freedrpy.run.goorm.io/txt/jc/playlist.m3u8 -// 海阔下载 https://haikuo.lanzoui.com/u/GoldRiver -// Pluto Player官方TG https://t.me/PlutoPlayer -// Pluto Player官方TG https://t.me/PlutoPlayerChannel - -// Pluto: 嗅探播放 完全正常 -// 俊老的殼 或 PythonBox: 請在rules新增底下設定,确保能嗅探较多的源 -// "rules":[ -// 海盗听书(drpy) -// {"host":"www.tingxiaoshuo.cc","rule":["baidupcs.com","/file/"]}, -// {"host":"www.tingxiaoshuo.cc","rule":["365ting.com"]}, -// {"host":"www.tingxiaoshuo.cc","rule":["tingshijie.com"]}, -// {"host":"www.tingxiaoshuo.cc","rule":["xmcdn.com"]}, -// {"host":"www.tingxiaoshuo.cc","rule":["vb.wting.info","token="]} -// ], - -var rule = { - title:'海盗听书', - host:'https://www.tingxiaoshuo.cc', - homeUrl:'/category/6/3.html', - url:'/category/6/fyclass.html?page=fypage', - searchUrl:'/pc/index/search.html?keyword=**&page=fypage', - searchable:2, - quickSearch:0, - headers:{ - 'User-Agent':'PC_UA' - }, - timeout:5000, - class_name:'新书&更新&人气', - class_url:'1&2&3', - play_parse:true, - play_json:0, - lazy:"let bookId=input.match(/play\\/(.*?)\\//)[1];let chapterId=input.match(/.*\\/(.*?)\\.html/)[1];let url='https://app.tingxiaoshuo.cc/listen/apptingchina/AppGetChapterUrl2022?uid=09e0bbefd378830f9615a98f239aceab&chapterId='+chapterId+'&bookId='+bookId;let res=request(url,{headers:{'User-Agent':PC_UA}});res=JSON.parse(res);input=res.src;log(input);", - limit:6, - double:true, - 推荐:'*', - 一级:'.list-works li;a&&title;img&&src;.list-book-cs span:eq(0)&&Text;a&&href', - 二级:{title:'h1&&Text;.book-info dd:eq(1)&&Text',img:'.book-img img&&src',desc:';;.book-info dd:gt(3):lt(6)&&Text;.book-info dd:eq(3)&&Text;.book-info dd:eq(2)&&Text',content:'.div-b&&Text',tabs:'.playlist-top&&h2',lists:'#playlist:eq(#id) li'}, - 搜索:'*', -} +// 道长 drpy仓库 https://gitcode.net/qq_32394351/dr_py +// 道长 drpy安卓本地搭建说明 https://gitcode.net/qq_32394351/dr_py/-/blob/master/%E5%AE%89%E5%8D%93%E6%9C%AC%E5%9C%B0%E6%90%AD%E5%BB%BA%E8%AF%B4%E6%98%8E.md +// 道长 drpy写源 模板规则说明 https://gitcode.net/supertlo/dr_py#%E6%A8%A1%E6%9D%BF%E8%A7%84%E5%88%99%E8%AF%B4%E6%98%8E +// 道长 drpy写源 套模模版 https://gitcode.net/qq_32394351/dr_py/-/raw/master/js/%E6%A8%A1%E6%9D%BF.js +// 道长 drpy写源 影片教程 http://101.34.67.237:5244/%E6%95%99%E8%82%B2/drpy +// 道长 drpy写源 影片教程(m3u8切片) https://freedrpy.run.goorm.io/txt/jc/playlist.m3u8 +// 海阔下载 https://haikuo.lanzoui.com/u/GoldRiver +// Pluto Player官方TG https://t.me/PlutoPlayer +// Pluto Player官方TG https://t.me/PlutoPlayerChannel + +// Pluto: 嗅探播放 完全正常 +// 俊老的殼 或 PythonBox: 請在rules新增底下設定,确保能嗅探较多的源 +// "rules":[ +// 海盗听书(drpy) +// {"host":"www.tingxiaoshuo.cc","rule":["baidupcs.com","/file/"]}, +// {"host":"www.tingxiaoshuo.cc","rule":["365ting.com"]}, +// {"host":"www.tingxiaoshuo.cc","rule":["tingshijie.com"]}, +// {"host":"www.tingxiaoshuo.cc","rule":["xmcdn.com"]}, +// {"host":"www.tingxiaoshuo.cc","rule":["vb.wting.info","token="]} +// ], + +var rule = { + title:'海盗听书', + host:'https://www.tingxiaoshuo.cc', + homeUrl:'/category/6/3.html', + url:'/category/6/fyclass.html?page=fypage', + searchUrl:'/pc/index/search.html?keyword=**&page=fypage', + searchable:2, + quickSearch:0, + headers:{ + 'User-Agent':'PC_UA' + }, + timeout:5000, + class_name:'新书&更新&人气', + class_url:'1&2&3', + play_parse:true, + play_json:0, + lazy:"let bookId=input.match(/play\\/(.*?)\\//)[1];let chapterId=input.match(/.*\\/(.*?)\\.html/)[1];let url='https://app.tingxiaoshuo.cc/listen/apptingchina/AppGetChapterUrl2022?uid=09e0bbefd378830f9615a98f239aceab&chapterId='+chapterId+'&bookId='+bookId;let res=request(url,{headers:{'User-Agent':PC_UA}});res=JSON.parse(res);input=res.src;log(input);", + limit:6, + double:true, + 推荐:'*', + 一级:'.list-works li;a&&title;img&&src;.list-book-cs span:eq(0)&&Text;a&&href', + 二级:{title:'h1&&Text;.book-info dd:eq(1)&&Text',img:'.book-img img&&src',desc:';;.book-info dd:gt(3):lt(6)&&Text;.book-info dd:eq(3)&&Text;.book-info dd:eq(2)&&Text',content:'.div-b&&Text',tabs:'.playlist-top&&h2',lists:'#playlist:eq(#id) li'}, + 搜索:'*', +} diff --git a/js/爱看影视.js b/js/爱看影视.js index c6427d1d..fccf8095 100644 --- a/js/爱看影视.js +++ b/js/爱看影视.js @@ -1,9 +1,16 @@ -var rule = Object.assign(muban.mxpro,{ - title:'爱看影视', - host:'https://ikan6.vip', - url:'/vodshow/fyclass--------fypage---/', - searchUrl:'/vodsearch/**----------fypage---/', - class_name:'电影&电视剧&综艺&动漫&日韩剧&美剧&港台剧', - class_url:'1&2&3&4&15&16&14', - class_parse:'', -}); \ No newline at end of file +var rule={ + title:'爱看影视', + host:'https://ikan6.vip', + url:'/vodtype/fyclass-fypage/ ', + searchUrl:'/vodsearch/-------------/?wd=**&submit=', + searchable:2, + quickSearch:1, + filterable:0, + headers:{'User-Agent':'MOBILE_UA', }, + class_name:'电影&电视剧&综艺&动漫&日韩剧&美剧', + class_url:'1&2&3&4&15&16', + 推荐:'.myui-vodlist__box;*;*;*;*', + 一级:'.myui-vodlist__box;a&&title;.lazyload&&data-original;.pic-text&&Text;a&&href', + 二级:{"title":"h1&&Text;.myui-content__detail p:eq(1)&&Text","img":".lazyload&&data-original","desc":";;;.myui-content__detail p:eq(3)&&Text;.myui-content__detail p:eq(4)&&Text","content":".sketch.content&&Text","tabs":'.nav.nav-tabs.active',"lists":".myui-content__list:eq(#id) a"}, + 搜索:'.myui-vodlist__media.clearfix li;a&&title;.lazyload&&data-original;.text-right&&Text;a&&href', +} \ No newline at end of file diff --git a/js/独播库.js b/js/独播库.js new file mode 100644 index 00000000..c4a5bcc9 --- /dev/null +++ b/js/独播库.js @@ -0,0 +1,16 @@ +//!!!!本站需翻墙!!!! +//已知问题:除了pluto player无法正常嗅探,其他壳都可以正常嗅探播放(js mode 0 or 1 都OK) +//其他壳播放遇到嗅探的问题时,试着把"解析"改回"🌐Ⓤ",然后就可以快乐的看片了! +//{"name":"🌐Ⓤ","type":0,"url":"","header":{"User-Agent":"Mozilla/5.0"}}, + +var rule = Object.assign(muban.首图,{ + title:'独播库', + host:'https://www.duboku.tv', + //host:'https://www.shnakun.com', + class_parse:'.nav-list li;a&&Text;a&&href;.*/(.*?).html', + lazy:'js:let html=fetch(input, fetch_params);var player=JSON.parse(html.match(/var player_(.*?)=(.*?)