mirror of
https://github.com/91270/MeiamSubtitles.git
synced 2026-05-12 19:17:10 +08:00
修复射手下载字幕提示 SSL 错误问题
This commit is contained in:
@@ -176,6 +176,8 @@ namespace Emby.MeiamSub.Shooter
|
||||
{
|
||||
var downloadSub = _jsonSerializer.DeserializeFromString<DownloadSubInfo>(Base64Decode(info));
|
||||
|
||||
downloadSub.Url = downloadSub.Url.Replace("https://www.shooter.cn", "http://www.shooter.cn");
|
||||
|
||||
_logger.Debug($"MeiamSub.Shooter DownloadSub | Url -> { downloadSub.Url } | Format -> { downloadSub.Format } | Language -> { downloadSub.Language } ");
|
||||
|
||||
var response = await _httpClient.GetResponse(new HttpRequestOptions
|
||||
@@ -186,6 +188,7 @@ namespace Emby.MeiamSub.Shooter
|
||||
AcceptHeader = "*/*",
|
||||
});
|
||||
|
||||
|
||||
_logger.Debug($"MeiamSub.Shooter DownloadSub | Response -> { response.StatusCode }");
|
||||
|
||||
if (response.StatusCode == HttpStatusCode.OK)
|
||||
|
||||
Reference in New Issue
Block a user