You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Prowlarr/src/NzbDrone.Core/Indexers/IIndexer.cs

30 lines
1002 B

using System;
using System.Threading.Tasks;
using NzbDrone.Core.IndexerSearch.Definitions;
using NzbDrone.Core.ThingiProvider;
namespace NzbDrone.Core.Indexers
{
public interface IIndexer : IProvider
{
bool SupportsRss { get; }
bool SupportsSearch { get; }
bool SupportsRedirect { get; }
IndexerCapabilities Capabilities { get; }
3 years ago
string BaseUrl { get; }
DownloadProtocol Protocol { get; }
IndexerPrivacy Privacy { get; }
Task<IndexerPageableQueryResult> Fetch(MovieSearchCriteria searchCriteria);
Task<IndexerPageableQueryResult> Fetch(MusicSearchCriteria searchCriteria);
Task<IndexerPageableQueryResult> Fetch(TvSearchCriteria searchCriteria);
Task<IndexerPageableQueryResult> Fetch(BookSearchCriteria searchCriteria);
Task<IndexerPageableQueryResult> Fetch(BasicSearchCriteria searchCriteria);
4 years ago
Task<byte[]> Download(Uri link);
4 years ago
IndexerCapabilities GetCapabilities();
}
}