提交 076eb2ce 编写于 作者: H hjdhnx

更新了版本

上级 34f04a71
3.9.29
\ No newline at end of file
3.9.29beta1
\ No newline at end of file
......@@ -30,7 +30,7 @@ var limit_search_show = 200;
var search_type = '';
var detail_order = 'name';
const request_timeout = 5000;
const VERSION = 'alist v2/v3 20221129';
const VERSION = 'alist v2/v3 20221204';
/**
* 打印日志
* @param any 任意变量
......@@ -254,7 +254,25 @@ function home(filter) {
}
function homeVod(params) {
return JSON.stringify({ 'list': [] });
let _post_data = {"pageNum":0,"pageSize":100};
let _post_url = 'https://pbaccess.video.qq.com/trpc.videosearch.hot_rank.HotRankServantHttp/HotRankHttp';
let data = http.post(_post_url,{ data: _post_data }).json();
let _list = [];
try {
data = data['data']['navItemList'][0]['hotRankResult']['rankItemList'];
// print(data);
data.forEach(it=>{
_list.push({
vod_name:it.title,
vod_id:'msearch:'+it.title,
vod_pic:'https://avatars.githubusercontent.com/u/97389433?s=120&v=4',
vod_remarks:it.changeOrder,
});
});
}catch (e) {
print('Alist获取首页推荐发送错误:'+e.message);
}
return JSON.stringify({ 'list': _list });
}
function category(tid, pg, filter, extend) {
......
此差异已折叠。
......@@ -49,6 +49,11 @@
[dockerfile教程](https://blog.csdn.net/qq_46158060/article/details/125718218)
[获取本地设备信息](https://blog.csdn.net/cui_yonghua/article/details/125508991)
[获取本地设备信息](https://m.jb51.net/article/140716.htm)
###### 2022/12/4
- [X] 修复js1 post搜索时未传递规则请求头信息bug
- [X] alist.js更新,增加了首页推荐
- [X] 仙人模式逻辑优化,增加ver参数,0,1,2。其中默认0为仙人自动识别,1为强制drpy.min.js,2为强制drpy2.min.js
- [X] 默哀模式优化
###### 2022/12/2
- [X] js0/js1 api更新,增加新特性:pagecount(单独指定某些分类的总页数)
```json
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册