Fixed: Cookie set for Cardigann cookie indexers

pull/225/head
Qstick 3 years ago
parent a8f2700fe6
commit 5a1186639e

@ -59,6 +59,16 @@ namespace NzbDrone.Core.Indexers.Cardigann
}; };
} }
protected override IDictionary<string, string> GetCookies()
{
if (Settings.ExtraFieldData.TryGetValue("cookie", out var cookies))
{
return CookieUtil.CookieHeaderToDictionary((string)cookies);
}
return base.GetCookies();
}
public override IEnumerable<ProviderDefinition> DefaultDefinitions public override IEnumerable<ProviderDefinition> DefaultDefinitions
{ {
get get

Loading…
Cancel
Save