更新 'SrcJyData.js'

master
src48597962 8 months ago
parent eb469b34fe
commit f37b0ee580
  1. 14
      SrcJyData.js

@ -621,6 +621,7 @@ function getSsData(name, jkdata, page) {
} }
function getHtmlCode(ssurl, headers) { function getHtmlCode(ssurl, headers) {
let html = request(ssurl, { headers: headers, timeout: timeout }); let html = request(ssurl, { headers: headers, timeout: timeout });
log(html);
try { try {
if (html.indexOf('检测中') != -1) { if (html.indexOf('检测中') != -1) {
html = request(ssurl + '&btwaf' + html.match(/btwaf(.*?)\"/)[1], { headers: headers, timeout: timeout }); html = request(ssurl + '&btwaf' + html.match(/btwaf(.*?)\"/)[1], { headers: headers, timeout: timeout });
@ -861,12 +862,13 @@ function getSsData(name, jkdata, page) {
try { try {
lists.forEach((list) => { lists.forEach((list) => {
let vodpic = list.vodpic ? list.vodpic.replace(/http.*\/tu\.php\?tu=|\/img\.php\?url=| |\/tu\.php\?tu=/g, '') : "hiker://files/cache/src/404.jpg"; let vodpic = list.vodpic ? list.vodpic.replace(/http.*\/tu\.php\?tu=|\/img\.php\?url=| |\/tu\.php\?tu=/g, '') : "hiker://files/cache/src/404.jpg";
if (/^\/\//.test(vodpic)) { if(!/^hiker/.test(vodpic)){
vodpic = "https:" + vodpic; if (/^\/\//.test(vodpic)) {
}else if (/^\//.test(vodpic)) { vodpic = "https:" + vodpic;
vodpic = vodurlhead + vodpic; }
}else if (!/^http/.test(vodpic) && !/^hiker/.test(vodpic) && !/^\//.test(vodpic)){ if(!/^http/.test(vodpic)){
vodpic = vodurlhead + '/' + vodpic; vodpic = getHome(list.vodurl) + vodpic;
}
} }
if (list.vodname.includes(name)) { if (list.vodname.includes(name)) {
searchs.push({ searchs.push({

Loading…
Cancel
Save