-
Notifications
You must be signed in to change notification settings - Fork 91
Expand file tree
/
Copy pathalidrive.js
More file actions
32 lines (23 loc) · 993 Bytes
/
alidrive.js
File metadata and controls
32 lines (23 loc) · 993 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/***********************************
> 应用名称:阿里云盘
> 脚本作者:Cuttlefish
> 微信账号:墨鱼手记
> 更新时间:2022-10-16
> 通知频道:https://t.me/ddgksf2021
> 投稿助手:https://t.me/ddgksf2013_bot
> 脚本功能:优化首页display
> 问题反馈:📮 ddgksf2013@163.com 📮
> 特别说明:⛔⛔⛔
本脚本仅供学习交流使用,禁止转载售卖
⛔⛔⛔
[rewrite_local]
# ~ 阿里云盘(2022-10-16)@ddgksf2013
^https?:\/\/api\.aliyundrive\.com\/apps\/v\d\/users\/apps\/widgets$ url script-response-body https://gitlab.com/ddgksf2013/Cuttlefish/-/raw/master/Script/alidrive.js
[mitm]
hostname=api.aliyundrive.com
***********************************/
let ddgksf2013 = JSON.parse($response.body);
if (ddgksf2013.result) {
ddgksf2013.result = Object.values(ddgksf2013.result).filter(item => (item["appCode"]=="file" || item["appCode"]=="video"));
}
$done({ body: JSON.stringify(ddgksf2013) });