box/lib/星芽短剧.js
dongtian d14c82cf42 Update 0831/布卡影院.json, 0831/电视剧网.json, 0831/理理影院.json, 0831/小坝影视.json, 0831/94影院.json, 0831/999影视.json, 0930/评书.json, 0930/blifun影院.json, 0930/xbpq_韩迷TV.json, drpy_libs/模板老.js, drpy_libs/模板.js, drpy_libs/crypto-hiker.js, drpy_libs/crypto-js.js, drpy_libs/cheerio.min.js, drpy_libs/drpy2.js, drpy_libs/drpy2.min.js, drpy_libs/gbk.js, drpy_libs/jinja.js, drpy_libs/jsencrypt.js, drpy_libs/json5.js, drpy_libs/node-rsa.js, drpy_libs/pako.min.js, jar/o.jar, jar/spider.jar, jar/wencai.jar, jar/wogg.jar, jar/xm.jar, jar/xyqxbpq.jar, js/采集分类生成器.py, js/采集之王[合].js, js/采集转换器.py, js/采集[密]静态.json, js/采集[zy]静态.json, js/一曲肝肠断.js, js/一支穿云箭.js, js/有声绘本网[听].js, js/有声听书网[听].js, js/中华听书网[听].js, js/种子音乐[听].js, js/HDmoli.js, js/i275听书[听].js, js/KTV歌厅[听].js, dongtian.json, xmbjm.jar, lib/爱看机器人[虫].js, lib/爱你短剧.json, lib/爱奇艺.js, lib/爱优影视.js, lib/贝乐虎[儿].js, lib/哔哩合集.txt, lib/哔哩戏曲.json, lib/哔哩相声.json, lib/哔哩影视[官].js, lib/哔哩综合.json, lib/播视童趣.json, lib/博看听书.js, lib/采集静态.json, lib/采集之王.js, lib/采集之王[合].js, lib/茶狐杯.json, lib/畅梦.js, lib/初中课堂.json, lib/大全央视.js, lib/电影先生.js, lib/斗鱼直播.js, lib/短剧屋.json, lib/多多追剧[优].js, lib/高中课堂.json, lib/好趣网.js, lib/河马短剧.json, lib/即看影视.js, lib/极光.js, lib/剧圈圈.json, lib/酷奇MV.js, lib/蓝莓短剧.js, lib/六月听书.js, lib/芒果.js, lib/美柏.json, lib/南瓜.js, lib/农民影视.json, lib/女团热舞.json, lib/七新影视.json, lib/奇珍异兽[官].js, lib/企鹅直播.json, lib/搜狗.js, lib/素白白[优].js, lib/腾讯VIP.js, lib/兔小贝.json, lib/兔小贝2.json, lib/小学课堂.json, lib/新视觉.json, lib/星芽短剧.js, lib/学外语.json, lib/学习园地.json, lib/演唱会.json, lib/优酷视频.js, lib/子子.json, lib/4k剧院.js, lib/4kav.json, lib/88看球.js, lib/98影视.json, lib/310直播.js, lib/348.json, lib/360吧[球].js, lib/360影视[官].js, lib/a8yy.js, lib/bl.js, lib/blzb.js, lib/cheerio.min.js, lib/crypto-js.js, lib/DJyyyyw.json, lib/douban.js, lib/drpy2.min.js, lib/fgys.json, lib/guangun.json, lib/guoguo.js, lib/gz.js, lib/HDmoli.json, lib/huyazhibo.js, lib/jp.js, lib/jrk.js, lib/lf_search3_min.js, lib/live.txt, lib/live2.txt, lib/miaiys.json, lib/MTV.json, lib/nfzw.json, lib/qyg0.js, lib/qyg1.js, lib/qyg2.js, lib/qyg3.js, lib/qyg4.js, lib/qyg5.js, lib/rebozj.json, lib/sc1080.json, lib/sdtv.jar, lib/sdtv.js, lib/Vidhub.json, lib/voflix.json, lib/xcys.json, lib/xm.jar, lib/ynfys.json, lib/ysdq.json, lib/zb.txt files
2024-11-03 05:14:53 +00:00

120 lines
4.9 KiB
JavaScript

var rule = {
类型: '影视',
title: '星芽短剧app',
host: 'https://app.whjzjx.cn',
url: '/cloud/v2/theaterfyfilter',
filter_url: '/home_page?theater_class_id=fyclass&type=1&{{fl.type or "class2_ids=0"}}&page_num=fypage&page_size=24',
searchUrl: '/v3/search',
searchable: 2,
quickSearch: 1,
filterable: 1,
filter: 'H4sIAAAAAAAAA6vmUgACJUMlK4VoMBMEquEssGR2aiVQWqmksiBVSQdVKi8xNxUk93zj7qfzutFlyxJzSlNRTMZuA8I4kFlPW1e8bF6BZhbCTJCS5JzE4mKj+MyUYlsDJQx1tZha8dn3snnv0x1NxNpnQrF9T/uXvFjcSqx9phTb97xvw5Pdi1+saHjWTLSthpRb+6xjxvOl84i10IjycH3Z0PZi0VpiLTSnPFxX7n+xrYvoEKXcwqd9bU/7NxGdUCnPGS+2zni6cj/RUWhGeZAunfe0ZzfRFlKeSF+29z6fMp9YC6ngwSlznq5bQKx9xsbUKGxIzvzGVMgbfS1PdxIdkcaUR+SLCT1P180l1kJLyu1rmfhsC9Glm7ERxRY+2bWJhCg0MaTchzMnPGtEr9JxWmiBxT4UkVguVPFYrloA8HqNcnwIAAA=',
headers: {
"X-App-Id": "7",
"platform": "1",
"manufacturer": "Xiaomi",
"version_name": "3.2.0.1",
"user_agent": "Mozilla/5.0 (Linux; Android 11; M2012K10C Build/RP1A.200720.011; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/87.0.4280.141 Mobile Safari/537.36",
"dev_token": "BY1wFZd4K0vDqzVMbtHXNmlQ29ovO5peS5MsZ7VX1rQUXDwAqskxkJtiPMZCEj6MaW-40xNnbvn12F68nLEAMkRoD7tpoieO4nkUE-GLOYxqCs0xmxWgXAh0-7NmmGCHi95SlyZlpHeit94JfJPkpo-hl4JFru2wUI-4P0AwDc5Y*",
"app_version": "3.2.0.1",
"device_platform": "android",
"personalized_recommend_status": "1",
"device_type": "M2012K10C",
"device_brand": "Redmi",
"os_version": "11",
"channel": "default",
"raw_channel": "default",
"oaid": "9494817a02a93435",
"msa_oaid": "9494817a02a93435",
"uuid": "randomUUID_f87c01c7-3d61-4feb-ade0-3d6d45d24dfd",
"device_id": "23b07cf840c8b3eeca8c01fc56f0f0a09",
"support_h265": "1",
"Host": "app.whjzjx.cn",
"Connection": "Keep-Alive",
"User-Agent": "okhttp/4.10.0"
},
timeout: 5000,
class_name: '剧场&热播剧&会员专享&星选好剧&新剧&阳光剧场',
class_url: '1&2&8&7&3&5',
预处理:$js.toString(()=>{
let html = post('https://u.shytkjgs.com/user/v1/account/login', {
headers: {
'User-Agent': 'okhttp/4.10.0',
'Accept-Encoding': 'gzip',
'Content-Type': 'application/x-www-form-urlencoded',
'x-app-id': '7',
'platform': '1',
'manufacturer': 'realme',
'version_name': '3.3.1',
'user_agent': 'Mozilla/5.0 (Linux; Android 9; RMX1931 Build/PQ3A.190605.05081124; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/91.0.4472.114 Mobile Safari/537.36',
'app_version': '3.3.1',
'device_platform': 'android',
'personalized_recommend_status': '1',
'device_type': 'RMX1931',
'device_brand': 'realme',
'os_version': '9',
'channel': 'default',
'raw_channel': 'default',
'oaid': '',
'msa_oaid': '',
'uuid': 'randomUUID_914e7a9b-deac-4f80-9247-db56669187df',
'device_id': '24250683a3bdb3f118dff25ba4b1cba1a',
'ab_id': '',
'support_h265': '1'
},
body: "device=24250683a3bdb3f118dff25ba4b1cba1a&install_first_open=false&first_install_time=1723214205125&last_update_time=1723214205125&report_link_url="
});
rule.headers['authorization'] = JSON.parse(html).data.token
}),
play_parse: true,
lazy: $js.toString(() => {
input = {
url: input,
parse: 0
}
}),
double: true,
一级: $js.toString(()=>{
let d = [];
let html = request(input,{headers:rule.headers});
let data = JSON.parse(html).data.list;
data.forEach(it => {
let id = 'https://app.whjzjx.cn/v2/theater_parent/detail?theater_parent_id='+it.theater.id;
d.push({
url:id,
title:it.theater.title,
img:it.theater.cover_url,
desc:it.theater.theme,
})
})
setResult(d);
}),
二级: $js.toString(()=>{
let urls = [];
let html = request(input,{headers:rule.headers});
let data = JSON.parse(html).data;
data.theaters.forEach(it => {
urls.push(it.num+'$'+it.son_video_url);
})
VOD = {
vod_name: data.title,
vod_pic: data.cover_url,
vod_play_from: '开心软件',
vod_play_url: urls.join('#')
};
}),
搜索: $js.toString(()=>{
let html = post(input,{headers:rule.headers,body:{"text":KEY}})
let list = JSON.parse(html).data.theater.search_data;
list.forEach(it =>{
let id = 'https://app.whjzjx.cn/v2/theater_parent/detail?theater_parent_id='+it.id;
d.push({
url:id,
title:it.title,
img:it.cover_url,
content:it.introduction,
})
})
setResult(d);
}),
}