mirror of
https://github.com/Giu-zhao/ios_rule_script
synced 2024-11-22 08:28:25 +08:00
[群晖]增加网易云课堂视频下载
This commit is contained in:
parent
a3a111b969
commit
6a535e70cb
8
script/synology/163study.lnplugin
Normal file
8
script/synology/163study.lnplugin
Normal file
@ -0,0 +1,8 @@
|
||||
# 网易云课堂_离线下载课程内容
|
||||
|
||||
[Script]
|
||||
http-response ^https?:\/\/ke\.study\.youdao\.com\/course\/app\/detail.json requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/synology/downloadstation.js,tag=网易云课堂_离线下载课程内容
|
||||
|
||||
|
||||
[MITM]
|
||||
hostname = ke.study.youdao.com
|
4
script/synology/163study.qxrewrite
Normal file
4
script/synology/163study.qxrewrite
Normal file
@ -0,0 +1,4 @@
|
||||
# 网易云课堂_离线下载课程内容
|
||||
^https?:\/\/ke\.study\.youdao\.com\/course\/app\/detail.json url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/synology/downloadstation.js
|
||||
|
||||
hostname = ke.study.youdao.com
|
8
script/synology/163study.sgmodule
Normal file
8
script/synology/163study.sgmodule
Normal file
@ -0,0 +1,8 @@
|
||||
#!name=网易云课堂
|
||||
#!desc=网易云课堂离线下载课程视频
|
||||
|
||||
[Script]
|
||||
网易云课堂_课程离线下载 = type=http-response,requires-body=1,max-size=0,timeout=300,pattern=^https?:\/\/ke\.study\.youdao\.com\/course\/app\/detail.json,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/synology/downloadstation.js
|
||||
|
||||
[MITM]
|
||||
hostname = %APPEND% ke.study.youdao.com
|
@ -6,7 +6,7 @@
|
||||
|
||||
一个小玩具,实现将互联网某些资源添加到群晖的Download Stations下载,目前暂时支持推特第三方客户端的图片视频下载。
|
||||
|
||||
这其实是个架子,提供一种思路:通过脚本获取资源后添加到群晖的Download Station,欢迎有兴趣的大佬一起完善,添加其他功能。~~计划添加自动下载京东电子发票,看什么时候有时间再实现。~~
|
||||
这其实是个架子,提供一种思路:通过脚本获取资源后添加到群晖的Download Station,欢迎有兴趣的大佬一起完善,添加其他功能。
|
||||
|
||||
在使用脚本前,需要有一些前提条件:
|
||||
|
||||
@ -41,6 +41,49 @@
|
||||
|
||||
**所以新建一个专用的账户给脚本使用就非常重要了。**
|
||||
|
||||
## 网易云课堂课程下载
|
||||
|
||||
### 操作方式
|
||||
|
||||
在App中,点击“我的学习”,在“全部课程”中,选择需要下载的课程,点击“进入学习”,就会开始提交下载任务给群晖Download Station。
|
||||
|
||||
### 注意事项
|
||||
|
||||
1. 如果课程非常多的情况,可能因为加载超时,导致网易云课堂程序没有响应。如果Surge或其他客户端正常弹出通知,说明执行正常,尽量保持手机不要锁屏,直到弹出通知显示全部课程下载完成。
|
||||
2. 不需要下载时务必关闭此模块/插件/复写,否则每次点击“进入学习”都会下载一次课程。
|
||||
3. 下载过程中不要修改Download Station的同时下载数。
|
||||
|
||||
### 没有群晖
|
||||
|
||||
如果没有群晖,脚本会将获取到的课程视频链接写入到日志中,可以从日志中获取下载链接后,使用其他下载工具下载课程。
|
||||
|
||||
### 配置说明
|
||||
|
||||
#### Surge
|
||||
|
||||
使用模块
|
||||
|
||||
```ini
|
||||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/synology/163study.sgmodule
|
||||
```
|
||||
|
||||
#### Loon
|
||||
|
||||
使用插件
|
||||
|
||||
```ini
|
||||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/synology/163study.lnplugin
|
||||
```
|
||||
|
||||
#### Quantumult X
|
||||
|
||||
配置文件
|
||||
|
||||
```ini
|
||||
[rewrite_remote]
|
||||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/synology/163study.qxrewrite, tag=网易云课堂_离线下载课程内容, enabled=true
|
||||
```
|
||||
|
||||
## Twitter资源下载
|
||||
|
||||
### Twitter第三方客户端
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user