mirror of
https://github.com/ls125781003/tvboxtg.git
synced 2025-10-30 13:22:19 +00:00
Pending changes exported from your codespace
This commit is contained in:
23
肥猫/js/小胡.js
Normal file
23
肥猫/js/小胡.js
Normal file
@@ -0,0 +1,23 @@
|
||||
var rule = {
|
||||
title: '小胡',
|
||||
host: 'http://xh.xzam.cn/api.php/provide/vod/',
|
||||
homeUrl: '/api.php/provide/vod?ac=detail',
|
||||
searchUrl: '/api.php/provide/vod?ac=detail&wd=**&pg=fypage',
|
||||
detailUrl: '/api.php/provide/vod?ac=detail&ids=fyid',
|
||||
url: '/api.php/provide/vod?ac=detail&t=fyclass&pg=fypage&f=',
|
||||
class_name: '电影&国剧&美剧&韩剧&动漫',
|
||||
class_url: '1&2&3&4&20',
|
||||
tab_rename:{'公众号:小胡不胡':'公众号:肥猫宝贝'},
|
||||
推荐: 'json:list;vod_name;vod_pic;vod_remarks;vod_id',
|
||||
一级: 'json:list;vod_name;vod_pic;vod_remarks;vod_id',
|
||||
二级: `js:
|
||||
let html = request(input);
|
||||
let list = JSON.parse(html).list;
|
||||
if(list.length===1){
|
||||
VOD = list[0];
|
||||
VOD.vod_blurb = VOD.vod_blurb.replace(/ /g, '').replace(/<[^>]*>/g, '');
|
||||
VOD.vod_content = VOD.vod_content.replace(/ /g, '').replace(/<[^>]*>/g, '');
|
||||
}
|
||||
`,
|
||||
搜索: 'json:list;vod_name;vod_pic;vod_remarks;vod_id',
|
||||
}
|
||||
Reference in New Issue
Block a user