> For the complete documentation index, see [llms.txt](https://embywiki.feverss.cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://embywiki.feverss.cloud/use-on-various-devices/use-on-ios/use-official-client/shi-yong-surge-po-jie.md).

# 使用 Surge 破解

## 前提条件 <a href="#qian-ti-tiao-jian" id="qian-ti-tiao-jian"></a>

首先我默认大家都已经安装并系统信任了 Surge 生成的 CA 证书

## 安装 Emby 破解模块 <a href="#an-zhuang-emby-po-jie-mo-kuai" id="an-zhuang-emby-po-jie-mo-kuai"></a>

点击 **模块** 按钮

![](/files/xCwUpZ81YGgP54m619yL)

&#x20;点击 安装新模块

![](/files/TUheGYbcSVY9Jub9fqKt)

在弹出的框中填写破解模块地址：

![](/files/kFNw9RZ7hDrhxAhXVDNt)

```
https://raw.githubusercontent.com/rartv/SurgeScript/main/EmbyPremiere/EmbyPremiere.sgmodule
```

由于破解模块是放到 github 的，有的人网络不行，github 被污染，所以模块可能没获取到，这会导致破解失败！

**这时请使用下面的备用模块**

```
https://gitlab.com/iptv-org/embypublic/-/raw/master/Script/EmbyPremiere.sgmodule
```

然后点 **好的**

在模块信息页面点 **安装**

![](/files/JJMVdJpgQCrLeb2uVSzi)

回到 Surge 首页，开启 **MitM** 和 **脚本** 的开关，点击右上角 **启动**

![](/files/S5jsXnZGtq4xKE6LiNEH)

## **破解 Emby 客户端** <a href="#po-jie-emby-ke-hu-duan" id="po-jie-emby-ke-hu-duan"></a>

打开 Emby 客户端，随便找一部影片来播放，当收到 Surge 的通知，提示 **Emby Premiere 已激活**时，说明我们已经破解成功了。由于有效期有 **999** 天，所以以后即使在没有开 Surge 或关闭破解模块的情况下，Emby 依然可以直接播放。如你删掉 Emby 客户端重新安装或者切换到其他 Emby 服务器后，才需要再次开 Surge 来破解。

![](/files/zZVHGHi3CgvWggKybWvj)

是不是很方便？

![](/files/5guvACvD80hv86OQljqD)
