Open karelrooted opened 10 months ago
使用了如上方式后,遵循了google官方的规则,但是依然无法使用喜欢列表,历史记录等功能,和没登入也没什么区别,如果不在意遵循官方的方式的话,可以考虑使用invidious+Yattee
git clone https://github.com/iv-org/invidious
cd invidious && docker-compose up
docker-compose cp invidious:/etc/ssl/certs/ca-certificates.crt ./ca-certificates.crt
openssl x509 -in surge.crt -out surge.pem (需替换为surge实际的mitm证书)
cat surge.pem >> ./ca-certificates.crt
docker-compose cp ca-certificates.crt invidious:/etc/ssl/certs/ca-certificates.crt
写了一个脚本简化了每隔7天重签及重新安装的步骤 (使用了fastlane和apple configurator的cfgutil 命令行工具):
bash <(curl -L -s https://raw.githubusercontent.com/karelrooted/resignipa/main/resignipa.sh -i ~/kodi.ipa -s "Apple Development: root@gmail.com (T6SL8W599A)" -p "tvOS Team Provisioning Profile: com.xxxx.kodi" -d Livingroom-AppleTV
签名证书等变量可以通过一次交互模式运行获取:
bash <(curl -L -s https://raw.githubusercontent.com/karelrooted/resignipa/main/resignipa.sh -i ~/kodi.ipa
使用了一段时间该双语字幕插件后,youtube体验上升了很多,创意值得赞扬!
在apple tv上调试了一段时间,该平台YouTube强制ssl pin, 没有能开启的方式
可以使用kodi + YouTube add-on 的简易妥协方式(或者invidious+yattee,见评论)
该方式缺点:
启用步骤:
安装kodi: https://kodi.wiki/view/HOW-TO:Install_Kodi_on_Apple_TV_4_and_5_(HD_and_4K)
google启用api key,oauth client
kodi YouTube 设置开启字幕,配置api key,oauth client,登入
Enjoy!