代码拉取完成,页面将自动刷新
同步操作将从 发粪涂墙/海阔视界 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
function EJ() {
var d = [];
var config = fetch('hiker://files/cache/MyParseSet.json');
var jsUrl = 'https://code.aliyun.com/AI957/Hiker/raw/master/v/CloudParse-V2_Dn.js';
if (config && fetch(JSON.parse(config).cj)) {
jsUrl = JSON.parse(config).cj;
}
eval(fetch(jsUrl));
if (!getVar('fftq') || getVar('fftq') == '断插') {
var lazy = `@lazyRule=.js:var html = fetch(input).match(/window.open\\('(.*?)'/)[1];if(html.indexOf('sa.sogou')!=-1){parseDomForHtml(fetch(html),'video&&src')}else if(html.indexOf('xigua')!=-1){request('https://vip.xrff.xyz/?url='+html, {headers:{ 'Referer':'https://vip.xrff.xyz'}}).match(/url":"(.*?)"/)[1]+'#isVideo=true#'}else{var input = html;` + lazy + `}`;
} else if (getVar('fftq') == '努插') {
var lazy = `@lazyRule=.js:var html = fetch(input).match(/window.open\\('(.*?)'/)[1];if(html.indexOf('sa.sogou')!=-1){parseDomForHtml(fetch(html),'video&&src')}else if(html.indexOf('xigua')!=-1){fetch('https://jiexi.cjt521.com/?url='+html, {timeout:20000}).match(/url":"(.*?)"/)[1]+'#isVideo=true#'}else{eval(fetch('hiker://files/rules/js/Messy-parsing.js'));player(html)}`;
}
var html = JSON.parse(getResCode().split('window.__INITIAL_STATE__=')[1].split(';(function(){var s;')[0]).detail.itemData;
d.push({
title: ((html.score ? '评分:' + html.score + '\t\t\t' : html.emcee ? '主持:' + html.emcee : '') + (html.year ? '年代:' + html.year : '') + '\n' + (html.zone + '\t' + html.style).substring(0, 15) + '\n' + (html.starring ? '主演:' + html.starring.substring(0, 15) : '')).replace(/undefined/g, ''),
desc: html.release_time || html.update_wordstr || html.introduction,
img: html.v_picurl,
url: setUrl,
col_type: 'movie_1_vertical_pic_blur'
})
try {
var tabs = [];
var lists = [];
var conts = html.play.item_list;
for (var i in conts) {
lists.push(conts[i].info)
tabs.push(conts[i].sitename[0])
}
function setTabs(tabs, vari) {
for (var i in tabs) {
var url = "#noLoading#@lazyRule=.js:putVar('" + vari + "', '" + i + "');refreshPage(false);'toast://切换成功!';'#noHistory#hiker://empty'";
d.push({
title: getVar(vari, '0') == i ? '‘‘' + tabs[i] + '’’' : tabs[i],
url: url,
col_type: 'flex_button'
})
}
}
function setLists(lists, index) {
/*
d.push({
title: '‘‘选集’’',
url: `#noLoading#@lazyRule=.js:let conf = getVar('shsort');if(conf==' - 逆序'){putVar({key:'shsort', value:' - 正序'});}else{putVar({key:'shsort', value:' - 逆序'})};refreshPage(false);'toast://切换排序成功';'#noHistory#hiker://empty'`,
col_type: 'text_center_1'
})
*/
if (conts[i].info || html.play_from_open_index) {
var list = lists[index];
if (list) {
/*
if (getVar('shsort') == ' - 逆序') {
for (var j = list.length - 1; j >= 0; j--) {
if (!list[j].index == '0') {
d.push({
title: list[j].index,
url: 'https://v.sogou.com' + list[j].url + lazy,
col_type: "text_4"
});
}
}
} else {
*/
for (var j = 0; j < list.length; j++) {
if (!list[j].index == '0') {
d.push({
title: list[j].index,
url: 'https://v.sogou.com' + list[j].url + lazy,
col_type: "text_4"
});
}
}
// }
}
if (html.play_from_open_index) {
var arr = [];
zy = html.play_from_open_index.item_list[index];
for (var ii in zy.date) {
date = zy.date[ii];
day = zy.date[ii].day;
for (j in day) {
dayy = day[j][0] >= 10 ? day[j][0] : "0" + day[j][0];
Tdate = date.year + date.month + dayy;
arr.push(Tdate);
arr.sort(function (a, b) { return b - a });
}
}
for (var k = 0; k < arr.length; k++) {
url = "https://v.sogou.com/vc/eplay?query=" + arr[k] + "&date=" + arr[k] + "&key=" + html.dockey + "&st=5&tvsite=" + conts[index].site;
d.push({
title: "第" + arr[k] + "期",
col_type: "text_2",
url: url + lazy
});
}
}
} else if (conts[index].site) {
d.push({
title: conts[index].sitename[0],
img: conts[index].picurl || 'http://dlweb.sogoucdn.com/video/wap/static/img/logo/' + conts[index].sitename[1],
url: 'https://v.sogou.com' + conts[index].url + lazy,
col_type: !conts[index].picurl ? "icon_2" : "movie_2"
})
}
}
setTabs(tabs, MY_URL);
setLists(lists, getVar(MY_URL, '0'));
} catch (e) {
var img = html.photo.item_list;
d.push({
title: '‘‘本片无选集’’',
col_type: "text_center_1"
})
for (var i in img) {
d.push({
img: img[i],
col_type: "pic_1_full"
})
}
}
setResult(d)
}
function SYYJ() {
var d = [];
if (!getVar('fftq')) {
putVar('fftq', '断插')
}
d.push({
desc: '60&&float',
url: 'file:///storage/emulated/0/Android/data/com.example.hikerview/files/Documents/tc.html',
col_type: 'x5_webview_single'
})
if (getVar('searchKeyword') == "") {
var tabs = [];
var lists = [];
var conts = parseDomForArray(getResCode(), '#container&&.section');
for (var i in conts) {
lists.push(parseDomForArray(conts[i], '.sort_lst&&li'))
tabs.push(parseDomForHtml(conts[i], '.sort_nav_tit&&Text'))
}
function setTabs(tabs, vari) {
for (var i in tabs) {
var url = "#noLoading#@lazyRule=.js:putVar('" + vari + "', '" + i + "');refreshPage(false);'toast://切换成功!';'#noHistory#hiker://empty'";
d.push({
title: getVar(vari, '0') == i ? '‘‘' + tabs[i] + '’’' : tabs[i],
url: url,
col_type: 'flex_button'
})
}
}
function setLists(lists, index) {
var list = lists[index];
d.push({
title: getVar('fftq'),
url: `#noLoading#@lazyRule=.js:let conf = getVar('fftq');if(conf=='断插'){putVar('fftq','努插')}else{putVar('fftq','断插')};refreshPage(false);'toast://切换成功';'#noHistory#hiker://empty'`,
col_type: "flex_button"
})
for (var j in list) {
d.push({
title: parseDomForHtml(list[j], 'img&&alt'),
img: parseDom(list[j], 'img&&src'),
desc: parseDomForHtml(list[j], 'a&&Text'),
url: parseDom(list[j], 'a&&href') + '#immersiveTheme#',
col_type: "movie_3"
});
}
d.push({
title: '加载更多',
// img: 'https://gitee.com/zbaolin/hksj/raw/master/logo.png',
img: 'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fbpic.588ku.com%2Felement_origin_min_pic%2F00%2F92%2F44%2F5656f2215b62616.jpg&refer=http%3A%2F%2Fbpic.588ku.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1623746146&t=b50e1895dcd1e8d1254c57934eef5bf1',
url: $(parseDom(conts[index], '.sort_nav_more&&href') + '&page=fypage').rule(() => {
var d = [];
var list = parseDomForArray(getResCode(), '.sort_lst&&li');
for (var i in list) {
d.push({
title: parseDomForHtml(list[i], 'img&&alt'),
img: parseDom(list[i], 'img&&src'),
desc: parseDomForHtml(list[i], 'a&&Text'),
url: $(parseDom(list[i], 'a&&href') + '#immersiveTheme#').rule(() => { eval(fetch('hiker://files/jiexi/sougou.js')); EJ() }),
col_type: 'movie_3'
})
}
setResult(d)
}),
col_type: "movie_3"
})
}
setTabs(tabs, MY_URL);
setLists(lists, getVar(MY_URL, '0'));
} else {
var html = fetch('https://v.sogou.com/v?query=' + getVar('searchKeyword'), { headers: { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0)' } });
var list = JSON.parse(html.split('window.__INITIAL_STATE__=')[1].split(';(function(){var s;')[0]).result.longVideo.results;
for (var i in list) {
d.push({
title: list[i].titleEsc,
desc: list[i].docname,
content: list[i].introduction,
img: list[i].v_picurl,
url: 'https://v.sogou.com' + list[i].tiny_url + '#immersiveTheme#'
});
}
}
setResult(d)
}
function SSYJ() {
var d = [];
var list = JSON.parse(getResCode().split('window.__INITIAL_STATE__=')[1].split(';(function(){var s;')[0]).result.longVideo.results;
for (var i in list) {
d.push({
title: list[i].titleEsc,
desc: list[i].docname,
content: list[i].introduction,
img: list[i].v_picurl,
url: 'https://v.sogou.com' + list[i].tiny_url + '#immersiveTheme#'
});
}
setResult(d)
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。