tvbox_config/open/testZzmusic.js
liushiquan 36ab603d34 init
2024-06-01 22:41:46 +08:00

44 lines
1.0 KiB
JavaScript

import { __jsEvalReturn } from './star_open.js';
var spider = __jsEvalReturn();
async function test() {
var spType = null;
var spVid = null;
spType = '2';
await spider.init({ skey: 'siteKey', ext: 'https://proxy.leospring.eu.org/url=https://www.histar.tv/' });
var page = JSON.parse(await spider.search('与卿书'));
console.log(page);
var classes = JSON.parse(await spider.home(true));
console.log(classes);
var homeVod = JSON.parse(await spider.homeVod());
console.log(homeVod);
var page = JSON.parse(await spider.category('movie', 1, true, {year: '2023'}));
console.log(page);
var page = JSON.parse(await spider.detail('363131'));
console.log(page);
// spVid = '95873';
/**
var page = JSON.parse(await spider.category('azz', 3, undefined, {}));
console.log(page);
var page = JSON.parse(await spider.detail('97008'));
console.log(page);
var page = JSON.parse(await spider.search('周杰伦'));
console.log(page);
**/
}
export { test };