mirror of
https://github.com/qist/tvbox.git
synced 2026-05-01 03:52:43 +00:00
update ALL
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import {__jsEvalReturn} from './wogg.js';
|
||||
import {__jsEvalReturn} from '../js/jianpian.js';
|
||||
|
||||
import * as Utils from "../lib/utils.js";
|
||||
|
||||
@@ -51,7 +51,7 @@ async function testMusicPlay(vodDetail) {
|
||||
}
|
||||
|
||||
async function test() {
|
||||
let siteKey = 'wogg';
|
||||
let siteKey = 'jianpian';
|
||||
let siteType = 3;
|
||||
await spider.init({
|
||||
skey: siteKey, stype: siteType, ext: {
|
||||
@@ -68,18 +68,23 @@ async function test() {
|
||||
let classes = JSON.parse(await spider.home(true));
|
||||
console.debug(JSON.stringify(classes))
|
||||
|
||||
|
||||
|
||||
// 测试详情
|
||||
let detail1 = JSON.parse(await spider.detail("/index.php/voddetail/84022.html"))
|
||||
await testPlay(detail1)
|
||||
|
||||
|
||||
|
||||
//测试首页列表
|
||||
let homeVod = JSON.parse(await spider.homeVod())
|
||||
console.debug(JSON.stringify(homeVod));
|
||||
|
||||
|
||||
// 测试详情
|
||||
let detail1 = JSON.parse(await spider.detail("562381"))
|
||||
await testPlay(detail1)
|
||||
|
||||
/***
|
||||
*
|
||||
* "HD粤语中英双字$ftp://a.gbl.114s.com:20320/9607/潜行-2023_HD粤语中英双字.mp4#HD国语中英双字$ftp://a.gbl.114s.com:20320/8224/潜行-2023_HD国语中英双字.mp4#BD国粤双语中字$ftp://a.gbl.114s.com:20320/1413/潜行-2023_BD国粤双语中字.mp4"
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -125,4 +130,4 @@ async function test() {
|
||||
}
|
||||
}
|
||||
|
||||
export {test};
|
||||
export {test};
|
||||
|
||||
Reference in New Issue
Block a user