Add files via upload

This commit is contained in:
n3rddd 2024-06-11 19:30:56 +08:00 committed by GitHub
parent f037c63693
commit 06bb570350
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 238 additions and 6 deletions

View File

@ -1,7 +1,7 @@
var rule = {
类型: '漫画',//影视|听书|漫画|小说
title: '包子漫画',
host: 'https://baozimh.org/',
host: 'https://godamh.com/',
url: 'fyclass/page/fypage',
searchUrl: '/s/**?page=fypage',
searchable: 2,
@ -16,17 +16,20 @@ var rule = {
timeout: 5000,
class_name: '全部',
class_url: '/manga',
class_parse: '.homenavtax&&a;a&&Text;a&&href;org/(.*)',
class_parse: '.homenavtax&&a;a&&Text;a&&href;(/manga.*-.*)',
cate_exclude: '',
play_parse: true,
lazy: $js.toString(() => {
log(input);
let _id = input.split('@@')[0];
let _url = input.split('@@')[1];
let mid = _url.split('/').slice(-1)[0].split('-')[0];
let html = request(`https://api-get.mgsearcher.com/api/chapter/getinfo?m=${mid}&c=${_id}`, {headers: {Referer: 'https://m.baozimh.one/'}});
//let mid = _url.split('/').slice(-1)[0].split('-')[0];
let html1 = request(_url, {headers: {Referer: 'https://godamh.com/'}});
let mid = pdfh(html1, '#chapterContent&&data-ms');
let html = request(`https://api-get.mgsearcher.com/api/chapter/getinfo?m=${mid}&c=${_id}`, {headers: {Referer: 'https://godamh.com/'}});
let json = JSON.parse(html);
let imgs = json.data.info.images.map(it => it.url);
let re = '@Referer=https://godamh.com/';
let imgs = json.data.info.images.map(it => it.url + re);
//log(imgs);
input = {url: 'pics://' + imgs.join('&&')};
}),
@ -50,7 +53,7 @@ var rule = {
//log(input);
let data_id = pdfh(html, '#allchapters&&data-mid');
//log(data_id);
let html1 = request(`https://api-get.mgsearcher.com/api/manga/get?mid=${data_id}&mode=all`, {headers: {Referer: 'https://m.baozimh.one/'}});
let html1 = request(`https://api-get.mgsearcher.com/api/manga/get?mid=${data_id}&mode=all`, {headers: {Referer: 'https://godamh.com/'}});
let json = JSON.parse(html1);
//log(json);
let list1 = [];

46
JN/dr_py/js/天启.js Normal file
View File

@ -0,0 +1,46 @@
var rule = {
类型: '影视',
编码: 'gb18030',
title: '天启影视',
host: 'https://www.tqys.cc/',
url: 'fyfilter/indexfypage.html[fyfilter/]',
searchUrl: '/search.asp?page=1&searchword=**&searchtype=-1',
searchable: 2,
quickSearch: 0,
filterable: 1,
filter_url: '{{fl.tag}}/{{fl.area}}',
filter: 'H4sIAAAAAAAAA42Sz0rDQBCH7z6FzDkg/We1ryI9BMylag9KhVICSql2PdgKGhUDXtSNWtQeijZt8jTZTfMWbkPozFIq7m322/3Nzse21tbVghxUdlqwZzWhAuahZYIBdfPAUlV8PRLBUNXH5n7DSo/V1ba48KLAjdn5nKh6t5kD28iY4wrGKcsvWNwdynaHsgIyfiXGE8qKmMm4fq9RWjB52pcnDr23iax7F/mMsjL2899EcEPZFvYLP3DylG2DXbWrqS4D8n/5mvEz9dxlZQ9B5POMzCOPaugsebmXP58aRGmi9yXHoQbRmrx9lu5Ag6gteXxVbTVIvA14HF5qkIgbfYsnR4NlaqCw0oD6GnL6vjx+x0vaXpa2QaOKq2VOpjPm/zPK/gWc7dctzAIAAA==',
filter_def: {
1: {tag: 'dy'},
2: {tag: 'dsj'},
3: {tag: 'donm'},
4: {tag: 'zony'},
},
headers: {
'User-Agent': 'MOBILE_UA',
},
timeout: 5000,
class_name: '电影&电视剧&动漫&综艺',
class_url: '1&2&3&4',
cate_exclude: '',
play_parse: true,
lazy: $js.toString(() => {
input = {parse: 1, url: input, js: ''};
}),
double: true,
一级: '.watch&&li;img&&alt;img&&src;.hottags&&Text;a&&href',
二级: {
title: '.main-wrap&&h2&&Text;p:eq(2)&&Text',
img: '.main-wrap&&img&&src',
desc: ';.main-wrap&&p:eq(4)&&Text;.main-wrap&&p:eq(2)&&Text;.main-wrap&&p&&Text;',
content: '.main-wrap&&p:eq(6)&&Text',
tabs: '.playadd&&span',
lists: '.playadd&&li',
tab_text: 'body&&Text',
list_text: 'body&&Text',
list_url: 'a&&href',
list_url_prefix: '',
},
搜索: '.watch li;*;*;*;*',
}

View File

@ -0,0 +1,38 @@
// 筛选页功能关闭中
muban.mxone5.二级.desc = '.video-info-items:eq(6)&&Text;;;.video-info-actor:eq(1)&&Text;.video-info-actor:eq(0)&&Text';
var rule = {
title: '子子影视',
模板: 'mxone5',
host: 'https://www.ziziys.com',
url: '/list/fyclass/page/fypage.html',
// url:'/list/fyfilter/page/fypage.html',
// filterable:1,//是否启用分类筛选,
// filter_url:'{{fl.cateId}}',
// filter: {"1":[{"key":"cateId","name":"类型","value":[{"n":"全部","v":"1"},{"n":"动漫片","v":"23"},{"n":"恐怖片","v":"24"},{"n":"历史传记片","v":"25"},{"n":"战争片","v":"26"},{"n":"情色片","v":"27"},{"n":"武侠古装","v":"28"},{"n":"记录片","v":"29"},{"n":"灾难片","v":"30"},{"n":"音乐歌舞","v":"31"},{"n":"运动片","v":"32"},{"n":"科幻片","v":"33"},{"n":"动作片","v":"6"},{"n":"剧情片","v":"7"},{"n":"喜剧","v":"8"},{"n":"爱情片","v":"9"},{"n":"惊悚片","v":"10"},{"n":"奇幻片","v":"11"},{"n":"悬疑片","v":"12"}]}],"2":[{"key":"cateId","name":"类型","value":[{"n":"全部","v":"2"},{"n":"国产剧","v":"13"},{"n":"欧美剧","v":"14"},{"n":"日韩剧","v":"15"},{"n":"泰剧","v":"16"}]}],"3":[{"key":"cateId","name":"类型","value":[{"n":"全部","v":"3"},{"n":"国漫","v":"20"},{"n":"日漫","v":"21"},{"n":"欧美动漫","v":"22"}]}]},
// filter_def:{
// 1:{cateId:'1'},
// 2:{cateId:'2'},
// 3:{cateId:'3'}
// },
class_name: '动漫片&恐怖片&历史传记片&战争片&武侠古装&记录片&灾难片&音乐歌舞&国产剧&美剧&日韩剧&泰剧&国漫&日漫&欧美动漫',
class_url: '23&24&25&26&28&29&30&31&13&14&15&16&20&21&22',
class_parse: '',
lazy: `js:
var html = JSON.parse(request(input).match(/r player_.*?=(.*?)</)[1]);
var url = html.url;
if (html.encrypt == "1") {
url = unescape(url)
} else if (html.encrypt == "2") {
url = unescape(base64Decode(url))
}
if (/m3u8|mp4/.test(url)) {
input = url
} else {
input
}
`,
// searchUrl:'/vsearch/**--fypage.html',
searchUrl: '/index.php/ajax/suggest?mid=1&wd=**&limit=50',
detailUrl: '/vdetail/fyid.html', //非必填,二级详情拼接链接
搜索: 'json:list;name;pic;;id',
}

View File

@ -0,0 +1,55 @@
var rule = {
类型: '小说',//影视|听书|漫画|小说
title: '我看书斋[书]',
host: 'https://www.5ccc.net/',
url: '/class/fyclass_fypage.html',
searchUrl: '/search/**',
searchable: 2,
quickSearch: 0,
filterable: 1,
filter: '',
filter_url: '',
filter_def: {},
headers: {
'User-Agent': 'MOBILE_UA',
},
timeout: 5000,
class_parse: '.nav-menu-items&&li;a&&Text;a&&href;class/(.*?)\.html',
cate_exclude: '',
play_parse: true,
lazy: $js.toString(() => {
let html = request(input);
let title = pdfh(html, 'h1&&Text').split('(')[0].trim();
// let content = pdfh(html, '#chaptercontent&&Html').replace(/<br>/g, '\n').replace(/\n\n/g, '\n');
let content = pdfh(html, '#chaptercontent&&Html').replace(/\n/g, "").split("<br>").filter(v => v).slice(0).join("\n");
let nextUrl = pd(html, '.bottem1&&a:contains(下一页)&&href', MY_URL);
//log(nextUrl);
if (nextUrl && nextUrl != MY_URL) {
let nextHtml = request(nextUrl);
let nextContent = pdfh(nextHtml, '#chaptercontent&&Html').replace(/\n/g, "").split("<br>").filter(v => v).slice(0).join("\n");
content += nextContent;
}
let ret = JSON.stringify({
title,
content
});
input = {parse: 0, url: 'novel://' + ret, js: ''};
}),
double: true,
推荐: '.content&&div.module;div.module-item;*;*;*;*;*',
一级: '.module-list:eq(-1)&&div.module-item;a&&title;img&&data-original;.module-item-caption&&Text;a&&href;.book-text&&Text',
二级: {
title: 'h1&&Text;.book-tag-icon&&Text',
img: 'img.lazyload&&src',
desc: '.book-info-item&&Text',
content: '.vod_content&&Text',
tabs: 'h1',
lists: '#chapterlist&&a',
tab_text: 'body&&Text',
list_text: 'body&&Text',
list_url: 'a&&href',
list_url_prefix: '',
},
搜索: '.module-list&&div.module-search-item;h3&&Text;*;.book-info-actor&&a&&Text;*;*',
}

View File

@ -0,0 +1,42 @@
var rule = {
类型: '听书',//影视|听书|漫画|小说
title: '有声听书网',
host: 'https://www.ysts.cc/',
url: '/book/fyclass/lastupdate/fypage.html',
searchUrl: '/search.html?searchtype=name&searchword=**&page=fypage',
searchable: 2,
quickSearch: 0,
filterable: 1,
filter: '',
filter_url: '',
filter_def: {},
headers: {
'User-Agent': 'PC_UA',
},
timeout: 5000,
class_parse: '.nav-ol li;a&&Text;a&&href;.*/(.*?)\/lastupdate',
cate_exclude: '',
play_parse: true,
lazy: $js.toString(() => {
input = {parse: 1, url: input, js: ''};
}),
double: true,
//推荐:'列表1;列表2;标题;图片;描述;链接;详情',
一级: '.list-works li;a&&title;img&&data-original;span&&Text;a&&href;dd&&Text',
二级: {
title: '.content&&a&&title;.content&&a:eq(1)&&Text',
img: '.content&&img&&data-original',
desc: '主要信息;.content&&dd:eq(3)&&Text;地区;.content&&dd:eq(4)&&Text;导演',
content: '.content&&.book-des&&Text',
tabs: '.playlist-top&&h2',
//tabs: '.chapter-list-block&&li',
// 列表有分页暂时解决不了。这种老6网站
lists: '.playlist&&li',
tab_text: 'body&&Text',
list_text: 'body&&Text',
list_url: 'a&&href',
list_url_prefix: '',
},
搜索: '.list-works li;*;*;*;*;详情',
}

View File

@ -0,0 +1,8 @@
var rule = {
模板: '首图',
title: '樱花动漫',
host: 'https://katedm.com/',
url: '/list/fyclass-fypage.html',
searchUrl: '/search/**----------fypage---.html',
搜索: '#searchList li;a&&title;.lazyload&&data-original;.pic-tag&&Text;a&&href',
}

40
JN/dr_py/js/热片网.js Normal file
View File

@ -0,0 +1,40 @@
var rule = {
类型: '影视',//影视|听书|漫画|小说
title: '热片网',
host: 'http://www.repian.cc',
url: '/fyclass-pagefypage.html',
searchUrl: '/vod-search-wd-**-pagefypage.html',
searchable: 2,
quickSearch: 0,
filterable: 1,
filter: '',
filter_url: '',
filter_def: {},
headers: {
'Accept-Language': 'zh-CN',
'User-Agent': 'PC_UA',
},
timeout: 5000,
class_parse: 'ul.navbar-nav&&li:not(.dropdown);a&&Text;a&&href;cc\/(.*?)-page1\.html',
cate_exclude: '',
play_parse: true,
lazy: $js.toString(() => {
input = {parse: 1, url: input, js: ''};
}),
double: true,
推荐: '.layout-box;li;*;*;*;*;*',
一级: '.box-video-list&&ul&&li;a&&title;a&&data-original;.note&&Text;a&&href;.subtitle&&Text',
二级: {
title: 'h1--em&&Text;ul.info&&li:eq(2)&&Text',
img: '.video-pic&&style',
desc: 'ul.info&&li:eq(10)&&Text;ul.info&&li:eq(4)&&Text;ul.info&&li:eq(6)&&Text;ul.info&&li:eq(3)&&Text;ul.info&&li:eq(5)&&Text',
content: '.details-content-all&&Text',
tabs: '.dropdown-menu:eq(-1)&&li',
lists: 'div.playlist&&ul:eq(#id)&&li',
tab_text: 'body&&Text',
list_text: 'body&&Text',
list_url: 'a&&href',
list_url_prefix: '',
},
搜索: '#content&&.details-info-min;*;*;ul.info&&li:eq(2)&&Text;*;.details-content-default&&Text',
}