https://github.com/oneclickvirt/unlocktests
解锁测试模块 (Unlock Tests Module)
https://github.com/oneclickvirt/unlocktests
goecs
Last synced: 10 months ago
JSON representation
解锁测试模块 (Unlock Tests Module)
- Host: GitHub
- URL: https://github.com/oneclickvirt/unlocktests
- Owner: oneclickvirt
- License: apache-2.0
- Created: 2024-05-30T07:00:00.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-07-27T15:52:05.000Z (11 months ago)
- Last Synced: 2025-07-27T17:41:03.902Z (11 months ago)
- Topics: goecs
- Language: Go
- Homepage: https://github.com/oneclickvirt/ecs
- Size: 698 KB
- Stars: 15
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# UnlockTests
[](https://hits.spiritlhl.net)
[](https://github.com/oneclickvirt/UnlockTests/actions/workflows/main.yaml)
解锁测试模块 (Unlock Tests Module)
## 使用
下载、安装、升级
```shell
curl https://raw.githubusercontent.com/oneclickvirt/UnlockTests/main/ut_install.sh -sSf | bash
```
或
```
curl https://cdn.spiritlhl.net/https://raw.githubusercontent.com/oneclickvirt/UnlockTests/main/ut_install.sh -sSf | bash
```
以后需要使用时使用
```
ut
```
或
```
./ut
```
唤起菜单进行选择
无环境依赖,理论上适配所有系统和主流架构,更多架构请查看 https://github.com/oneclickvirt/UnlockTests/releases/tag/output
```
Usage of ut:
-I string
specify source ip / interface
-L string
language, specify to en or zh (default "zh")
-b use progress bar, disable example: -b=false (default true)
-dns-servers string
specify dns servers
-f string
specify select option in menu, example: -f 0
-http-proxy string
specify http proxy
-m int
mode 0(both)/4(only)/6(only), default to 0, example: -m 4
-s show ip address status, disable example: -s=false (default true)
-v show version
```
## 卸载
```
rm -rf /root/ut
rm -rf /usr/bin/ut
```
## TODO
### 无效检测
需要重新构建检测逻辑
```
ElevenSportsTW
CineMax
NPO Start Plus Unknown: Token get null
KPLUS - ssoToken 已过期
TV360 - 登录认证已过期
Salto - Get remote error: tls: unrecognized name
PCRJP - stream error: stream ID 1; INTERNAL_ERROR; received from peer
```
### 部分失效
有替代的检测,但仍保留失效检测的部分,未知是否完全失效
```
TikTok - 在 hk、jp 上测试时不时测不出,在 tw 上失效的概率更大,其他地区没有问题
BilibiliID - 对应URL请求无论如何都返回为空 {"code":10004001,"message":"10004001","ttl":1,"data":null}
BilibiliTH - 对应URL请求无论如何都返回为空 {"code":10004001,"message":"10004001","ttl":1,"data":null}
BilibiliVN - 对应URL请求无论如何都返回为空 {"code":10004001,"message":"10004001","ttl":1,"data":null}
```
### 无需支持
不需要再做支持
```
KBSAmerican - 不再支持本地区
Paravi - 已迁移并集成到 U-NEXT 中。由于整合,除了传统的Paravi作品外,现在还有电影、动漫、亚洲和外国戏剧等等可以无限观看。
HBOGOEurope - api.ugw.hbogo.eu 已经 host 为空了 查询不到内容
HBOSpain - api-discovery.hbo.eu 的 host 已经为空了
HBOGO - 被 HBOMax 替代合并了
HBO_Nordic - 被合并了
HBO_Portugal - 被合并了
PopcornFlix - 已关服
WorldFlipper - 已关服
KonosubaFD - 已关服
```
## 在Golang中使用
```
go get github.com/oneclickvirt/UnlockTests@v0.0.28-20250727155204
```
## Thanks
https://github.com/nkeonkeo/MediaUnlockTest
https://github.com/HsukqiLee/MediaUnlockTest
https://github.com/lmc999/RegionRestrictionCheck
https://github.com/betaxab/RegionRestrictionCheck/tree/refactor-1