mirror of
https://github.com/qist/tvbox.git
synced 2025-10-26 01:32:18 +00:00
update PG
This commit is contained in:
23
js/上头短剧.js
Normal file
23
js/上头短剧.js
Normal file
@@ -0,0 +1,23 @@
|
||||
var rule = {
|
||||
title: '短剧',
|
||||
host: 'http://zzdj.cc',
|
||||
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: '短剧&KS&DY&都市&古装&重生&逆袭&虐恋&萌宝&言情&穿越&战神&神医&赘婿&甜宠&其他',
|
||||
class_url: '1&2&3&4&5&6&7&8&9&10&11&12&13&14&15&16',
|
||||
tab_rename:{'zzdj':'🚀关注【神秘的哥哥们】防失联'},
|
||||
推荐: '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