From 10214bff42bc1f6046b288d95bd5dfd7d4221a79 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Tue, 21 Apr 2015 16:56:35 -0700 Subject: [PATCH] Cleanse some names --- .../Files/RSS/torznab_tpb.xml | 46 +++++++++---------- .../TorznabTests/TorznabFixture.cs | 6 +-- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/src/NzbDrone.Core.Test/Files/RSS/torznab_tpb.xml b/src/NzbDrone.Core.Test/Files/RSS/torznab_tpb.xml index 67b39cf5e..14b86c1cd 100644 --- a/src/NzbDrone.Core.Test/Files/RSS/torznab_tpb.xml +++ b/src/NzbDrone.Core.Test/Files/RSS/torznab_tpb.xml @@ -14,12 +14,12 @@ The Pirate Bay - Game of Thrones S05E02 HDTV x264-Xclusive [eztv] - https://thepiratebay.se/torrent/11811366/Game_of_Thrones_S05E02_HDTV_x264-Xclusive_[eztv] - https://thepiratebay.se/torrent/11811366/Game_of_Thrones_S05E02_HDTV_x264-Xclusive_[eztv] + Series Title S05E02 HDTV x264-Xclusive [eztv] + https://thepiratebay.se/torrent/11811366/Series_Title_S05E02_HDTV_x264-Xclusive_[eztv] + https://thepiratebay.se/torrent/11811366/Series_Title_S05E02_HDTV_x264-Xclusive_[eztv] Sat, 11 Apr 2015 21:34:00 -0600 388895872 - Game of Thrones S05E02 HDTV x264-Xclusive [eztv] + Series Title S05E02 HDTV x264-Xclusive [eztv] magnet:?xt=urn:btih:9fb267cff5ae5603f07a347676ec3bf3e35f75e1&dn=Game+of+Thrones+S05E02+HDTV+x264-Xclusive+[eztv]&tr=udp:%2F%2Fopen.demonii.com:1337&tr=udp:%2F%2Ftracker.coppersurfer.tk:6969&tr=udp:%2F%2Ftracker.leechers-paradise.org:6969&tr=udp:%2F%2Fexodus.desync.com:6969 @@ -30,12 +30,12 @@ - Game of Thrones S05E03 WEBRip XviD-FUM[ettv] - https://thepiratebay.se/torrent/11811373/Game_of_Thrones_S05E03_WEBRip_XviD-FUM[ettv] - https://thepiratebay.se/torrent/11811373/Game_of_Thrones_S05E03_WEBRip_XviD-FUM[ettv] + Series Title S05E03 WEBRip XviD-FUM[ettv] + https://thepiratebay.se/torrent/11811373/Series_Title_S05E03_WEBRip_XviD-FUM[ettv] + https://thepiratebay.se/torrent/11811373/Series_Title_S05E03_WEBRip_XviD-FUM[ettv] Sat, 11 Apr 2015 21:42:00 -0600 471722880 - Game of Thrones S05E03 WEBRip XviD-FUM[ettv] + Series Title S05E03 WEBRip XviD-FUM[ettv] magnet:?xt=urn:btih:c1f9f6bade11a4c46028b118053452460ab94be1&dn=Game+of+Thrones+S05E03+WEBRip+XviD-FUM[ettv]&tr=udp:%2F%2Fopen.demonii.com:1337&tr=udp:%2F%2Ftracker.coppersurfer.tk:6969&tr=udp:%2F%2Ftracker.leechers-paradise.org:6969&tr=udp:%2F%2Fexodus.desync.com:6969 @@ -46,12 +46,12 @@ - Game Of Thrones S05E01 HDTV x264-Xclusive - https://thepiratebay.se/torrent/11811268/Game_Of_Thrones_S05E01_HDTV_x264-Xclusive - https://thepiratebay.se/torrent/11811268/Game_Of_Thrones_S05E01_HDTV_x264-Xclusive + Series Title S05E01 HDTV x264-Xclusive + https://thepiratebay.se/torrent/11811268/Series_Title_S05E01_HDTV_x264-Xclusive + https://thepiratebay.se/torrent/11811268/Series_Title_S05E01_HDTV_x264-Xclusive Sat, 11 Apr 2015 18:14:00 -0600 312339328 - Game Of Thrones S05E01 HDTV x264-Xclusive + Series Title S05E01 HDTV x264-Xclusive magnet:?xt=urn:btih:fd8b1062af0d8c2426cb4d180b86815ffa91b479&dn=Game+Of+Thrones+S05E01+HDTV+x264-Xclusive&tr=udp:%2F%2Fopen.demonii.com:1337&tr=udp:%2F%2Ftracker.coppersurfer.tk:6969&tr=udp:%2F%2Ftracker.leechers-paradise.org:6969&tr=udp:%2F%2Fexodus.desync.com:6969 @@ -62,12 +62,12 @@ - Game of Thrones S05E04 WEBRip XviD-FUM[ettv] - https://thepiratebay.se/torrent/11811448/Game_of_Thrones_S05E04_WEBRip_XviD-FUM[ettv] - https://thepiratebay.se/torrent/11811448/Game_of_Thrones_S05E04_WEBRip_XviD-FUM[ettv] + Series Title S05E04 WEBRip XviD-FUM[ettv] + https://thepiratebay.se/torrent/11811448/Series_Title_S05E04_WEBRip_XviD-FUM[ettv] + https://thepiratebay.se/torrent/11811448/Series_Title_S05E04_WEBRip_XviD-FUM[ettv] Sat, 11 Apr 2015 23:10:00 -0600 442970944 - Game of Thrones S05E04 WEBRip XviD-FUM[ettv] + Series Title S05E04 WEBRip XviD-FUM[ettv] magnet:?xt=urn:btih:30abe6b5816c758d327672a0fa58ff2b055ad3fe&dn=Game+of+Thrones+S05E04+WEBRip+XviD-FUM[ettv]&tr=udp:%2F%2Fopen.demonii.com:1337&tr=udp:%2F%2Ftracker.coppersurfer.tk:6969&tr=udp:%2F%2Ftracker.leechers-paradise.org:6969&tr=udp:%2F%2Fexodus.desync.com:6969 @@ -78,15 +78,15 @@ - Arrow.S03E19.HDTV.x264-LOL[ettv] - https://thepiratebay.se/torrent/11817918/Arrow.S03E19.HDTV.x264-LOL[ettv] - https://thepiratebay.se/torrent/11817918/Arrow.S03E19.HDTV.x264-LOL[ettv] + Series.Title.S03E19.HDTV.x264-LOL[ettv] + https://thepiratebay.se/torrent/11817918/Series.Title.S03E19.HDTV.x264-LOL[ettv] + https://thepiratebay.se/torrent/11817918/Series.Title.S03E19.HDTV.x264-LOL[ettv] Wed, 15 Apr 2015 18:58:00 -0600 243951200 - Arrow.S03E19.HDTV.x264-LOL[ettv] - magnet:?xt=urn:btih:53896c2a6391a69a672041139e023c018c0f4aff&dn=Arrow.S03E19.HDTV.x264-LOL[ettv]&tr=udp:%2F%2Fopen.demonii.com:1337&tr=udp:%2F%2Ftracker.coppersurfer.tk:6969&tr=udp:%2F%2Ftracker.leechers-paradise.org:6969&tr=udp:%2F%2Fexodus.desync.com:6969 - - + Series.Title.S03E19.HDTV.x264-LOL[ettv] + magnet:?xt=urn:btih:53896c2a6391a69a672041139e023c018c0f4aff&dn=Series.Title.S03E19.HDTV.x264-LOL[ettv]&tr=udp:%2F%2Fopen.demonii.com:1337&tr=udp:%2F%2Ftracker.coppersurfer.tk:6969&tr=udp:%2F%2Ftracker.leechers-paradise.org:6969&tr=udp:%2F%2Fexodus.desync.com:6969 + + diff --git a/src/NzbDrone.Core.Test/IndexerTests/TorznabTests/TorznabFixture.cs b/src/NzbDrone.Core.Test/IndexerTests/TorznabTests/TorznabFixture.cs index 079ed30f9..ad60a12a3 100644 --- a/src/NzbDrone.Core.Test/IndexerTests/TorznabTests/TorznabFixture.cs +++ b/src/NzbDrone.Core.Test/IndexerTests/TorznabTests/TorznabFixture.cs @@ -74,12 +74,12 @@ namespace NzbDrone.Core.Test.IndexerTests.TorznabTests releases.First().Should().BeOfType(); var releaseInfo = releases.First() as TorrentInfo; - releaseInfo.Title.Should().Be("Game of Thrones S05E02 HDTV x264-Xclusive [eztv]"); + releaseInfo.Title.Should().Be("Series Title S05E02 HDTV x264-Xclusive [eztv]"); releaseInfo.DownloadProtocol.Should().Be(DownloadProtocol.Torrent); releaseInfo.MagnetUrl.Should().Be("magnet:?xt=urn:btih:9fb267cff5ae5603f07a347676ec3bf3e35f75e1&dn=Game+of+Thrones+S05E02+HDTV+x264-Xclusive+[eztv]&tr=udp:%2F%2Fopen.demonii.com:1337&tr=udp:%2F%2Ftracker.coppersurfer.tk:6969&tr=udp:%2F%2Ftracker.leechers-paradise.org:6969&tr=udp:%2F%2Fexodus.desync.com:6969"); releaseInfo.DownloadUrl.Should().Be("magnet:?xt=urn:btih:9fb267cff5ae5603f07a347676ec3bf3e35f75e1&dn=Game+of+Thrones+S05E02+HDTV+x264-Xclusive+[eztv]&tr=udp:%2F%2Fopen.demonii.com:1337&tr=udp:%2F%2Ftracker.coppersurfer.tk:6969&tr=udp:%2F%2Ftracker.leechers-paradise.org:6969&tr=udp:%2F%2Fexodus.desync.com:6969"); - releaseInfo.InfoUrl.Should().Be("https://thepiratebay.se/torrent/11811366/Game_of_Thrones_S05E02_HDTV_x264-Xclusive_[eztv]"); - releaseInfo.CommentUrl.Should().Be("https://thepiratebay.se/torrent/11811366/Game_of_Thrones_S05E02_HDTV_x264-Xclusive_[eztv]"); + releaseInfo.InfoUrl.Should().Be("https://thepiratebay.se/torrent/11811366/Series_Title_S05E02_HDTV_x264-Xclusive_[eztv]"); + releaseInfo.CommentUrl.Should().Be("https://thepiratebay.se/torrent/11811366/Series_Title_S05E02_HDTV_x264-Xclusive_[eztv]"); releaseInfo.Indexer.Should().Be(Subject.Definition.Name); releaseInfo.PublishDate.Should().Be(DateTime.Parse("Sat, 11 Apr 2015 21:34:00 -0600").ToUniversalTime()); releaseInfo.Size.Should().Be(388895872);