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.
59 lines
1.5 KiB
59 lines
1.5 KiB
12 years ago
|
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>();
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|
||
|
}
|