|
|
|
@ -1,4 +1,6 @@
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using FluentValidation.Results;
|
|
|
|
|
using NLog;
|
|
|
|
|
using NzbDrone.Core.Configuration;
|
|
|
|
|
using NzbDrone.Core.Messaging.Events;
|
|
|
|
@ -44,6 +46,13 @@ namespace NzbDrone.Core.Indexers.Definitions.TorrentRss
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override Task<ValidationFailure> TestConnection()
|
|
|
|
|
{
|
|
|
|
|
UpdateCookies(null, null);
|
|
|
|
|
|
|
|
|
|
return base.TestConnection();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private IndexerDefinition GetDefinition(string name, string description, TorrentRssIndexerSettings settings)
|
|
|
|
|
{
|
|
|
|
|
return new IndexerDefinition
|
|
|
|
|