mirror of
https://github.com/yuanwangokk-1/TV-BOX.git
synced 2025-10-25 10:51:23 +00:00
75 lines
1.6 KiB
JavaScript
75 lines
1.6 KiB
JavaScript
var rule = {
|
|
title:'youjizz',
|
|
host:'https://www.youjizz.com',
|
|
url:'fyclassfypage.html?country=cn',
|
|
searchUrl: 'https://pigav.com/page/fypage?s=**',
|
|
headers:{
|
|
'User-Agent':'MOBILE_UA'
|
|
},
|
|
timeout:5000,
|
|
class_name:'最新&🔥热门🔥&人气排行&趋势&分类',//静态分类名称拼接
|
|
class_url:'/newest-clips/&/most-popular/&/top-rated/&/trending/&/categories/japanese-',//静态分类标识拼接
|
|
limit:5,
|
|
play_parse:true,
|
|
lazy:'',
|
|
一级:'#content&&.video-thumb;.video-title&&Text;img&&data-original;.time&&Text;a&&href',
|
|
二级:'js:
|
|
let res = {};
|
|
let d = [];
|
|
const html = getResCode();
|
|
|
|
const script = parseDomForHtml(html, '#inner_content&&script&&Html');
|
|
eval(script)
|
|
|
|
d.push({
|
|
pic_url: stream_data.cover_image,
|
|
col_type: 'pic_1'
|
|
});
|
|
|
|
|
|
if (stream_data['240p'].length > 0) {
|
|
d.push({
|
|
title: '240p',
|
|
url: stream_data['240p'][0],
|
|
col_type: 'text_2'
|
|
});
|
|
}
|
|
if (stream_data['320p'].length > 0) {
|
|
d.push({
|
|
title: '320p',
|
|
url: stream_data['320p'][0],
|
|
col_type: 'text_2'
|
|
});
|
|
}
|
|
if (stream_data['480p'].length > 0) {
|
|
d.push({
|
|
title: '480p',
|
|
url: stream_data['480p'][0],
|
|
col_type: 'text_2'
|
|
});
|
|
}
|
|
if (stream_data['720p'].length > 0) {
|
|
d.push({
|
|
title: '720p',
|
|
url: stream_data['720p'][0],
|
|
col_type: 'text_2'
|
|
});
|
|
}
|
|
if (stream_data['1080p'].length > 0) {
|
|
d.push({
|
|
title: '1080p',
|
|
url: stream_data['1080p'][0],
|
|
col_type: 'text_2'
|
|
});
|
|
}
|
|
if (stream_data['4k'].length > 0) {
|
|
d.push({
|
|
title: '4k',
|
|
url: stream_data['480p'][0],
|
|
col_type: 'text_2'
|
|
});
|
|
}
|
|
|
|
res.data = d;
|
|
setHomeResult(res);',
|
|
}
|