Update name for RSS only indexers

This commit is contained in:
Bogdan 2024-04-12 06:56:38 +03:00
parent 8a7b67c593
commit 5d90103b75
2 changed files with 6 additions and 6 deletions

View File

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

View File

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