|
|
|
|
@ -1,14 +1,14 @@
|
|
|
|
|
// import 'https://code.gitlink.org.cn/api/v1/repos/hjdhnx/dr_py/raw/master/libs/es6py.js';
|
|
|
|
|
// import 'https://ghproxy.net/https://raw.githubusercontent.com/hjdhnx/dr_py/main/libs/es6py.js';
|
|
|
|
|
// import {是否正版,urlDeal,setResult,setResult2,setHomeResult,maoss,urlencode} from 'http://192.168.10.103:5705/libs/es6py.js';
|
|
|
|
|
// import 'http://192.168.1.124:5705/libs/es6py.js';
|
|
|
|
|
import cheerio from 'https://code.gitlink.org.cn/api/v1/repos/hjdhnx/dr_py/raw/master/libs/cheerio.min.js';
|
|
|
|
|
import cheerio from 'https://ghproxy.net/https://raw.githubusercontent.com/hjdhnx/dr_py/main/libs/cheerio.min.js';
|
|
|
|
|
// import cheerio from 'http://192.168.10.103:5705/libs/cheerio.min.js';
|
|
|
|
|
import 'https://code.gitlink.org.cn/api/v1/repos/hjdhnx/dr_py/raw/master/libs/crypto-js.js';
|
|
|
|
|
import 'https://code.gitlink.org.cn/api/v1/repos/hjdhnx/dr_py/raw/master/libs/drT.js';
|
|
|
|
|
import 模板 from 'https://code.gitlink.org.cn/api/v1/repos/hjdhnx/dr_py/raw/master/js/模板.js';
|
|
|
|
|
import {gbkTool} from 'https://code.gitlink.org.cn/api/v1/repos/hjdhnx/dr_py/raw/master/libs/gbk.js'
|
|
|
|
|
import 'https://ghproxy.net/https://raw.githubusercontent.com/hjdhnx/dr_py/main/libs/crypto-js.js';
|
|
|
|
|
import 'https://ghproxy.net/https://raw.githubusercontent.com/hjdhnx/dr_py/main/libs/drT.js';
|
|
|
|
|
import 模板 from 'https://ghproxy.net/https://raw.githubusercontent.com/hjdhnx/dr_py/main/js/模板.js';
|
|
|
|
|
import {gbkTool} from 'https://ghproxy.net/https://raw.githubusercontent.com/hjdhnx/dr_py/main/libs/gbk.js'
|
|
|
|
|
// import 'http://192.168.10.103:5705/libs/drT.js';
|
|
|
|
|
// import muban from 'https://code.gitlink.org.cn/api/v1/repos/hjdhnx/dr_py/raw/master/js/模板.js';
|
|
|
|
|
// import muban from 'https://ghproxy.net/https://raw.githubusercontent.com/hjdhnx/dr_py/main/js/模板.js';
|
|
|
|
|
// import muban from 'http://192.168.10.103:5705/admin/view/模板.js';
|
|
|
|
|
|
|
|
|
|
// const key = 'drpy_zbk';
|
|
|
|
|
@ -427,7 +427,7 @@ function decodeStr(input,encoding){
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function getCryptoJS(){
|
|
|
|
|
// return request('https://code.gitlink.org.cn/api/v1/repos/hjdhnx/dr_py/raw/master/libs/crypto-hiker.js');
|
|
|
|
|
// return request('https://ghproxy.net/https://raw.githubusercontent.com/hjdhnx/dr_py/main/libs/crypto-hiker.js');
|
|
|
|
|
return 'console.log("CryptoJS已装载");'
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ -1555,7 +1555,7 @@ function categoryParse(cateObj) {
|
|
|
|
|
pagecount = parseInt(rule.pagecount[MY_CATE]);
|
|
|
|
|
}
|
|
|
|
|
let nodata = {
|
|
|
|
|
list:[{vod_name:'无数据,防无限请求',vod_id:'no_data',vod_remarks:'不要点,会崩的',vod_pic:'https://ghproxy.com/https://raw.githubusercontent.com/hjdhnx/dr_py/main/404.jpg'}],
|
|
|
|
|
list:[{vod_name:'无数据,防无限请求',vod_id:'no_data',vod_remarks:'不要点,会崩的',vod_pic:'https://ghproxy.net/https://raw.githubusercontent.com/hjdhnx/dr_py/main/404.jpg'}],
|
|
|
|
|
total:1,pagecount:1,page:1,limit:1
|
|
|
|
|
};
|
|
|
|
|
let vod = d.length<1?JSON.stringify(nodata):JSON.stringify({
|
|
|
|
|
@ -2113,7 +2113,7 @@ function playParse(playObj){
|
|
|
|
|
try {
|
|
|
|
|
// make shared jsContext happy muban不能import,不然会造成换源继承后变量被篡改
|
|
|
|
|
// if (typeof (globalThis.mubanJs) === 'undefined') {
|
|
|
|
|
// let mubanJs = request('https://code.gitlink.org.cn/api/v1/repos/hjdhnx/dr_py/raw/master/js/模板.js', { 'User-Agent': MOBILE_UA });
|
|
|
|
|
// let mubanJs = request('https://ghproxy.net/https://raw.githubusercontent.com/hjdhnx/dr_py/main/js/模板.js', { 'User-Agent': MOBILE_UA });
|
|
|
|
|
// mubanJs = mubanJs.replace('export default', '(function() {return muban;}()) // export default');
|
|
|
|
|
// // console.log(mubanJs);
|
|
|
|
|
// globalThis.mubanJs = mubanJs;
|
|
|
|
|
|