mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-25 22:36:59 -04:00
9fba2458d8
* Remove TV search commands Remove TV search commands * Cleanup Newznab, Fix variable name in IntegrationTests
36 lines
1006 B
C#
36 lines
1006 B
C#
using NzbDrone.Common.Http;
|
|
using NzbDrone.Core.IndexerSearch.Definitions;
|
|
|
|
namespace NzbDrone.Core.Indexers
|
|
{
|
|
public class RssIndexerRequestGenerator : IIndexerRequestGenerator
|
|
{
|
|
private readonly string _baseUrl;
|
|
|
|
public RssIndexerRequestGenerator(string baseUrl)
|
|
{
|
|
_baseUrl = baseUrl;
|
|
}
|
|
|
|
|
|
public virtual IndexerPageableRequestChain GetRecentRequests()
|
|
{
|
|
var pageableRequests = new IndexerPageableRequestChain();
|
|
|
|
pageableRequests.Add(new[] { new IndexerRequest(_baseUrl, HttpAccept.Rss) });
|
|
|
|
return pageableRequests;
|
|
}
|
|
|
|
public virtual IndexerPageableRequestChain GetSearchRequests(AlbumSearchCriteria searchCriteria)
|
|
{
|
|
throw new System.NotImplementedException();
|
|
}
|
|
|
|
public virtual IndexerPageableRequestChain GetSearchRequests(ArtistSearchCriteria searchCriteria)
|
|
{
|
|
throw new System.NotImplementedException();
|
|
}
|
|
}
|
|
}
|