box/lib/极光.js
dongtian d14c82cf42 Update 0831/布卡影院.json, 0831/电视剧网.json, 0831/理理影院.json, 0831/小坝影视.json, 0831/94影院.json, 0831/999影视.json, 0930/评书.json, 0930/blifun影院.json, 0930/xbpq_韩迷TV.json, drpy_libs/模板老.js, drpy_libs/模板.js, drpy_libs/crypto-hiker.js, drpy_libs/crypto-js.js, drpy_libs/cheerio.min.js, drpy_libs/drpy2.js, drpy_libs/drpy2.min.js, drpy_libs/gbk.js, drpy_libs/jinja.js, drpy_libs/jsencrypt.js, drpy_libs/json5.js, drpy_libs/node-rsa.js, drpy_libs/pako.min.js, jar/o.jar, jar/spider.jar, jar/wencai.jar, jar/wogg.jar, jar/xm.jar, jar/xyqxbpq.jar, js/采集分类生成器.py, js/采集之王[合].js, js/采集转换器.py, js/采集[密]静态.json, js/采集[zy]静态.json, js/一曲肝肠断.js, js/一支穿云箭.js, js/有声绘本网[听].js, js/有声听书网[听].js, js/中华听书网[听].js, js/种子音乐[听].js, js/HDmoli.js, js/i275听书[听].js, js/KTV歌厅[听].js, dongtian.json, xmbjm.jar, lib/爱看机器人[虫].js, lib/爱你短剧.json, lib/爱奇艺.js, lib/爱优影视.js, lib/贝乐虎[儿].js, lib/哔哩合集.txt, lib/哔哩戏曲.json, lib/哔哩相声.json, lib/哔哩影视[官].js, lib/哔哩综合.json, lib/播视童趣.json, lib/博看听书.js, lib/采集静态.json, lib/采集之王.js, lib/采集之王[合].js, lib/茶狐杯.json, lib/畅梦.js, lib/初中课堂.json, lib/大全央视.js, lib/电影先生.js, lib/斗鱼直播.js, lib/短剧屋.json, lib/多多追剧[优].js, lib/高中课堂.json, lib/好趣网.js, lib/河马短剧.json, lib/即看影视.js, lib/极光.js, lib/剧圈圈.json, lib/酷奇MV.js, lib/蓝莓短剧.js, lib/六月听书.js, lib/芒果.js, lib/美柏.json, lib/南瓜.js, lib/农民影视.json, lib/女团热舞.json, lib/七新影视.json, lib/奇珍异兽[官].js, lib/企鹅直播.json, lib/搜狗.js, lib/素白白[优].js, lib/腾讯VIP.js, lib/兔小贝.json, lib/兔小贝2.json, lib/小学课堂.json, lib/新视觉.json, lib/星芽短剧.js, lib/学外语.json, lib/学习园地.json, lib/演唱会.json, lib/优酷视频.js, lib/子子.json, lib/4k剧院.js, lib/4kav.json, lib/88看球.js, lib/98影视.json, lib/310直播.js, lib/348.json, lib/360吧[球].js, lib/360影视[官].js, lib/a8yy.js, lib/bl.js, lib/blzb.js, lib/cheerio.min.js, lib/crypto-js.js, lib/DJyyyyw.json, lib/douban.js, lib/drpy2.min.js, lib/fgys.json, lib/guangun.json, lib/guoguo.js, lib/gz.js, lib/HDmoli.json, lib/huyazhibo.js, lib/jp.js, lib/jrk.js, lib/lf_search3_min.js, lib/live.txt, lib/live2.txt, lib/miaiys.json, lib/MTV.json, lib/nfzw.json, lib/qyg0.js, lib/qyg1.js, lib/qyg2.js, lib/qyg3.js, lib/qyg4.js, lib/qyg5.js, lib/rebozj.json, lib/sc1080.json, lib/sdtv.jar, lib/sdtv.js, lib/Vidhub.json, lib/voflix.json, lib/xcys.json, lib/xm.jar, lib/ynfys.json, lib/ysdq.json, lib/zb.txt files
2024-11-03 05:14:53 +00:00

192 lines
9.6 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

var rule = {
title: '腾云驾雾[官]',
host: 'https://v.%71%71.com',
// homeUrl: '/x/bu/pagesheet/list?_all=1&append=1&channel=choice&listpage=1&offset=0&pagesize=21&iarea=-1&sort=18',
homeUrl: '/x/bu/pagesheet/list?_all=1&append=1&channel=cartoon&listpage=1&offset=0&pagesize=21&iarea=-1&sort=18',
detailUrl: 'https://node.video.%71%71.com/x/api/float_vinfo2?cid=fyid',
searchUrl: '/x/search/?q=**&stag=fypage',
searchable: 2,
filterable: 1,
multi: 1,
// url:'/channel/fyclass?listpage=fypage&channel=fyclass&sort=18&_all=1',
url: '/x/bu/pagesheet/list?_all=1&append=1&channel=fyclass&listpage=1&offset=((fypage-1)*21)&pagesize=21&iarea=-1',
// filter_url: 'sort={{fl.sort or 18}}&year={{fl.year}}&pay={{fl.pay}}',
// filter_url: 'sort={{fl.sort or 75}}&year={{fl.year}}&pay={{fl.pay}}',
filter_url: 'sort={{fl.sort or 75}}&iyear={{fl.iyear}}&year={{fl.year}}&itype={{fl.type}}&ifeature={{fl.feature}}&iarea={{fl.area}}&itrailer={{fl.itrailer}}&gender={{fl.sex}}',
// filter: 'H4sIAAAAAAAAA+2UzUrDQBCA32XOEZLUJrGvIj0saaDBNisxBkIJCG3Fi4oepIg3EQoieqiH+vM23Zq+hRuaZLZ4ce9z2/lmd2d2+NgR+H0e+gF0DkdwFGTQgRMeJ2BAxIaSwvrqVnxcyzhlg9PttqjED2c/45cSy8DyIDcavr57q/lBw8XTd/E6qbnT8M3zTFyc72RtC/Jumd+2c8wy7KZ4nxSL5Z9uxHS+Gc+r83sWVp1eVttl4Dluk1h93YubWZVwduplAYuxoFguVp+P/y5om/Z+/YxyqfAW8pbKbeS2yi3kO/ebyE2Fy1nXXBm7DDzknspd5K7KHeSOytvI2+XAugYkKWlD2mhrM+RpSB8OmaNvTsriMEgycofc0XbHZ3HCeUTukDv67vTDQY/MIXO0zelxn5M4JI6mOPkvgswSEpgPAAA=',
filter: 'H4sIAAAAAAAAA+1Y3U8aWRT/X+ZZEwYEtI9207Rp0r40+9CNDxM7G8laaZCamsYEinyoDYp1sa1I/aJSK4ita3Eo9J+Ze2fmv9g7yOWc22u3xJX0RZ7gd+ee7/M7h3mujE+EQ+O6cuOP58pf+qxyQ5kOR6LKgDKlPWaoQrOrxFhmv2e0yafnj025cCFmJSouzH4E/crcQBen+VoHH/Z1cVJq2kfzHFeVuTH35FxhaFbXIqCRnJ2YjV1JI0mWnUS5I2FQ7Ur2erxDHbT9FeE+wH0Y9wLuxbgKuCDfA7gH4epIF2dfET4M+DDGg4AHMR4APIBxP+B+N2JjA0p0pi+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okhttp/4.12.0'
},
timeout: 5000,
// class_parse:'.site_channel a;a&&Text;a&&href;channel/(.*)',
cate_exclude: '会员|游戏|全部',
// class_name: '精选&电视剧&电影&综艺&动漫&少儿&纪录片',
// class_url: 'choice&tv&movie&variety&cartoon&child&doco',
class_name: '精选&新电影&新电视剧&新动漫&新综艺&少儿动画&新纪录片',
class_url: 'choice&movie&tv&cartoon&variety&child&doco',
limit: 20,
play_parse:true,
// play_parse:true,
lazy: $js.toString(() => {
let d = [];
// 发起请求并解析返回的 JSON 数据
let response = JSON.parse(request("http://103.117.123.51:2121/zhuimi666.php?url=" + input));
// 获取所有字段名
let keys = Object.keys(response);
// 查找以 'url' 开头的字段名
let urlKey = keys.find(key => key.startsWith('url'));
// 提取对应的值
let url = urlKey ? response[urlKey] : null;
if (url) {
// 处理 url或将其用于 input
input = {
url: url,
parse: 0,
header: rule.headers
};
} else {
// 处理没有找到 url 字段的情况
console.error("没有找到以 'url' 开头的字段");
}
setResult(d);
}),
推荐: '.list_item;img&&alt;img&&src;a&&Text;a&&data-float',
一级: '.list_item;img&&alt;img&&src;a&&Text;a&&data-float',
二级: $js.toString(() => {
VOD = {};
let d = [];
let video_list = [];
let video_lists = [];
let list = [];
let QZOutputJson;
let html = fetch(input, fetch_params);
let sourceId = /get_playsource/.test(input) ? input.match(/id=(\d*?)&/)[1] : input.split("cid=")[1];
let cid = sourceId;
let detailUrl = "https://v.%71%71.com/detail/m/" + cid + ".html";
log("详情页:" + detailUrl);
pdfh = jsp.pdfh;
pd = jsp.pd;
try {
let json = JSON.parse(html);
VOD = {
vod_url: input,
vod_name: json.c.title,
type_name: json.typ.join(","),
vod_actor: json.nam.join(","),
vod_year: json.c.year,
vod_content: json.c.description,
vod_remarks: json.rec,
vod_pic: urljoin2(input, json.c.pic)
}
} catch (e) {
log("解析片名海报等基础信息发生错误:" + e.message)
}
if (/get_playsource/.test(input)) {
eval(html);
let indexList = QZOutputJson.PlaylistItem.indexList;
indexList.forEach(function (it) {
let dataUrl = "https://s.video.qq.com/get_playsource?id=" + sourceId + "&plat=2&type=4&data_type=3&range=" + it + "&video_type=10&plname=qq&otype=json";
eval(fetch(dataUrl, fetch_params));
let vdata = QZOutputJson.PlaylistItem.videoPlayList;
vdata.forEach(function (item) {
d.push({
title: item.title,
pic_url: item.pic,
desc: item.episode_number + "\t\t\t播放量" + item.thirdLine,
url: item.playUrl
})
});
video_lists = video_lists.concat(vdata)
})
} else {
let json = JSON.parse(html);
video_lists = json.c.video_ids;
let url = "https://v.qq.com/x/cover/" + sourceId + ".html";
if (video_lists.length === 1) {
let vid = video_lists[0];
url = "https://v.qq.com/x/cover/" + cid + "/" + vid + ".html";
d.push({
title: "在线播放",
url: url
})
} else if (video_lists.length > 1) {
for (let i = 0; i < video_lists.length; i += 30) {
video_list.push(video_lists.slice(i, i + 30))
}
video_list.forEach(function (it, idex) {
let o_url = "https://union.video.qq.com/fcgi-bin/data?otype=json&tid=1804&appid=20001238&appkey=6c03bbe9658448a4&union_platform=1&idlist=" + it.join(",");
let o_html = fetch(o_url, fetch_params);
eval(o_html);
QZOutputJson.results.forEach(function (it1) {
it1 = it1.fields;
let url = "https://v.qq.com/x/cover/" + cid + "/" + it1.vid + ".html";
d.push({
title: it1.title,
pic_url: it1.pic160x90.replace("/160", ""),
desc: it1.video_checkup_time,
url: url,
type: it1.category_map && it1.category_map.length > 1 ? it1.category_map[1] : ""
})
})
})
}
}
let yg = d.filter(function (it) {
return it.type && it.type !== "正片"
});
let zp = d.filter(function (it) {
return !(it.type && it.type !== "正片")
});
VOD.vod_play_from = yg.length < 1 ? "极光" : "极光$$$ 预告及花絮";
VOD.vod_play_url = yg.length < 1 ? d.map(function (it) {
return it.title + "$" + it.url
}).join("#") : [zp, yg].map(function (it) {
return it.map(function (its) {
return its.title + "$" + its.url
}).join("#")
}).join("$$$");
}),
搜索: $js.toString(() => {
let d = [];
pdfa = jsp.pdfa;
pdfh = jsp.pdfh;
pd = jsp.pd;
let html = request(input);
let baseList = pdfa(html, "body&&.result_item_v");
log(baseList.length);
baseList.forEach(function (it) {
let longText = pdfh(it, ".result_title&&a&&Text");
let shortText = pdfh(it, ".type&&Text");
let fromTag = pdfh(it, ".result_source&&Text");
let score = pdfh(it, ".figure_info&&Text");
let content = pdfh(it, ".desc_text&&Text");
// let url = pdfh(it, ".result_title&&a&&href");
let url = pdfh(it, "div&&r-data");
// log(longText);
// log(shortText);
// log('url:'+url);
let img = pd(it, ".figure_pic&&src");
url = "https://node.video.qq.com/x/api/float_vinfo2?cid=" + url.match(/.*\/(.*?)\.html/)[1];
log(shortText + "|" + url);
if (fromTag.match(/腾讯/)) {
d.push({
title: longText.split(shortText)[0],
img: img,
url: url,
content: content,
desc: shortText + " " + score
})
}
});
setResult(d);
}),
}