core: remove legacy cloudflare code (#10110)

This commit is contained in:
Diego Heras
2020-11-04 23:01:58 +01:00
committed by GitHub
parent 7f29913d4b
commit 938315cebd
2 changed files with 2 additions and 35 deletions

View File

@@ -193,8 +193,6 @@ namespace Jackett.Common.Utils.Clients
}{bodySize} bytes{body}");
}
if (result.Headers.TryGetValue("server", out var server) && server[0] == "cloudflare-nginx")
result.ContentString = BrowserUtil.DecodeCloudFlareProtectedEmailFromHTML(result.ContentString);
return result;
}