Update name for RSS only indexers

pull/6718/head
Bogdan 1 month ago
parent 8a7b67c593
commit 5d90103b75

@ -8,7 +8,7 @@ namespace NzbDrone.Core.Indexers.IPTorrents
{
public class IPTorrents : HttpIndexerBase<IPTorrentsSettings>
{
public override string Name => "IP Torrents";
public override string Name => "IP Torrents RSS";
public override DownloadProtocol Protocol => DownloadProtocol.Torrent;
public override bool SupportsSearch => false;
@ -21,12 +21,12 @@ namespace NzbDrone.Core.Indexers.IPTorrents
public override IIndexerRequestGenerator GetRequestGenerator()
{
return new IPTorrentsRequestGenerator() { Settings = Settings };
return new IPTorrentsRequestGenerator { Settings = Settings };
}
public override IParseIndexerResponse GetParser()
{
return new TorrentRssParser() { ParseSizeInDescription = true };
return new TorrentRssParser { ParseSizeInDescription = true };
}
}
}

@ -8,7 +8,7 @@ namespace NzbDrone.Core.Indexers.Torrentleech
{
public class Torrentleech : HttpIndexerBase<TorrentleechSettings>
{
public override string Name => "TorrentLeech";
public override string Name => "TorrentLeech RSS";
public override DownloadProtocol Protocol => DownloadProtocol.Torrent;
public override bool SupportsSearch => false;
@ -21,12 +21,12 @@ namespace NzbDrone.Core.Indexers.Torrentleech
public override IIndexerRequestGenerator GetRequestGenerator()
{
return new TorrentleechRequestGenerator() { Settings = Settings };
return new TorrentleechRequestGenerator { Settings = Settings };
}
public override IParseIndexerResponse GetParser()
{
return new TorrentRssParser() { UseGuidInfoUrl = true, ParseSeedersInDescription = true };
return new TorrentRssParser { UseGuidInfoUrl = true, ParseSeedersInDescription = true };
}
}
}

Loading…
Cancel
Save