59 lines
1.5 KiB
C#
59 lines
1.5 KiB
C#
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
|
||
|
namespace NzbDrone.Core.Indexers.NzbsRUs
|
||
|
{
|
||
|
public class Nzbsrus : BaseIndexer
|
||
|
{
|
||
|
private readonly NzbsrusSetting _setting;
|
||
|
|
||
|
public Nzbsrus(IProviderIndexerSetting settingProvider)
|
||
|
{
|
||
|
_setting = settingProvider.Get<NzbsrusSetting>(this);
|
||
|
}
|
||
|
|
||
|
public override IEnumerable<string> RecentFeed
|
||
|
{
|
||
|
get
|
||
|
{
|
||
|
yield return string.Format("https://www.nzbsrus.com/rssfeed.php?cat=91,75&i={0}&h={1}",
|
||
|
_setting.Uid,
|
||
|
_setting.Hash);
|
||
|
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
public override IIndexerSetting Settings
|
||
|
{
|
||
|
get { return _setting; }
|
||
|
}
|
||
|
|
||
|
public override string Name
|
||
|
{
|
||
|
get { return "NzbsRUs"; }
|
||
|
}
|
||
|
|
||
|
public override IEnumerable<string> GetEpisodeSearchUrls(string seriesTitle, int seasonNumber, int episodeNumber)
|
||
|
{
|
||
|
return new List<string>();
|
||
|
}
|
||
|
|
||
|
public override IEnumerable<string> GetSeasonSearchUrls(string seriesTitle, int seasonNumber)
|
||
|
{
|
||
|
return new List<string>();
|
||
|
}
|
||
|
|
||
|
public override IEnumerable<string> GetDailyEpisodeSearchUrls(string seriesTitle, DateTime date)
|
||
|
{
|
||
|
return new List<string>();
|
||
|
}
|
||
|
|
||
|
public override IEnumerable<string> GetPartialSeasonSearchUrls(string seriesTitle, int seasonNumber, int episodeWildcard)
|
||
|
{
|
||
|
return new List<string>();
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|
||
|
}
|