mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Fix for morethantv and some ssl issues
This commit is contained in:
@@ -33,7 +33,7 @@ namespace Jackett.Indexers
|
||||
|
||||
public bool IsConfigured { get; private set; }
|
||||
|
||||
static string BaseUrl = "http://www.morethan.tv";
|
||||
static string BaseUrl = "https://www.morethan.tv";
|
||||
|
||||
static string LoginUrl = BaseUrl + "/login.php";
|
||||
|
||||
@@ -66,7 +66,7 @@ namespace Jackett.Indexers
|
||||
return Task.FromResult<ConfigurationData>(config);
|
||||
}
|
||||
|
||||
public async Task ApplyConfiguration(Newtonsoft.Json.Linq.JToken configJson)
|
||||
public async Task ApplyConfiguration(JToken configJson)
|
||||
{
|
||||
|
||||
var config = new ConfigurationDataBasicLogin();
|
||||
|
@@ -25,6 +25,9 @@ namespace Jackett
|
||||
|
||||
public Server()
|
||||
{
|
||||
// Allow all SSL.. sucks I know but mono on linux is having problems without it..
|
||||
ServicePointManager.ServerCertificateValidationCallback += (sender, cert, chain, sslPolicyErrors) => true;
|
||||
|
||||
LoadApiKey();
|
||||
|
||||
indexerManager = new IndexerManager();
|
||||
|
Reference in New Issue
Block a user