From 5d90103b752a3c05c4175f4099dc1264661db34c Mon Sep 17 00:00:00 2001 From: Bogdan Date: Fri, 12 Apr 2024 06:56:38 +0300 Subject: [PATCH] Update name for RSS only indexers --- src/NzbDrone.Core/Indexers/IPTorrents/IPTorrents.cs | 6 +++--- src/NzbDrone.Core/Indexers/Torrentleech/Torrentleech.cs | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/NzbDrone.Core/Indexers/IPTorrents/IPTorrents.cs b/src/NzbDrone.Core/Indexers/IPTorrents/IPTorrents.cs index ab7f9ee7d..afafe5cc3 100644 --- a/src/NzbDrone.Core/Indexers/IPTorrents/IPTorrents.cs +++ b/src/NzbDrone.Core/Indexers/IPTorrents/IPTorrents.cs @@ -8,7 +8,7 @@ namespace NzbDrone.Core.Indexers.IPTorrents { public class IPTorrents : HttpIndexerBase { - 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 }; } } } diff --git a/src/NzbDrone.Core/Indexers/Torrentleech/Torrentleech.cs b/src/NzbDrone.Core/Indexers/Torrentleech/Torrentleech.cs index 4cad693e7..2597793c8 100644 --- a/src/NzbDrone.Core/Indexers/Torrentleech/Torrentleech.cs +++ b/src/NzbDrone.Core/Indexers/Torrentleech/Torrentleech.cs @@ -8,7 +8,7 @@ namespace NzbDrone.Core.Indexers.Torrentleech { public class Torrentleech : HttpIndexerBase { - 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 }; } } }