diff --git a/src/.idea/.idea.NzbDrone/.idea/contentModel.xml b/src/.idea/.idea.NzbDrone/.idea/contentModel.xml
index 9eec0f91a..cba07cbb4 100644
--- a/src/.idea/.idea.NzbDrone/.idea/contentModel.xml
+++ b/src/.idea/.idea.NzbDrone/.idea/contentModel.xml
@@ -2725,6 +2725,7 @@
+
diff --git a/src/NzbDrone.Core.Test/Files/Indexers/TorrentRss/DanishBits.xml b/src/NzbDrone.Core.Test/Files/Indexers/TorrentRss/DanishBits.xml
new file mode 100644
index 000000000..5b551e732
--- /dev/null
+++ b/src/NzbDrone.Core.Test/Files/Indexers/TorrentRss/DanishBits.xml
@@ -0,0 +1,312 @@
+
+
+
+ HD Film (RAPiDCOWS) :: Danishbits.org
+ http://danishbits.org/
+ RSS feed for all new HD Film (RAPiDCOWS).
+ en-us
+ Thu, 03 May 2018 11:12:03 +0200
+
+ http://blogs.law.harvard.edu/tech/rss
+ Gazelle Feed Class -
+
+
+ Thu, 03 May 2018 10:56:03 +0200
+ https://danishbits.org/torrents.php/Marfa.Girl.2012.NORDiC.720p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED&id=960749
+
+ https://danishbits.org/torrents.php/Marfa.Girl.2012.NORDiC.720p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED;id=960749
+ http://danishbits.org/torrents.php?id=961807
+
+ N/A
+
-
+
+
+ Thu, 03 May 2018 10:14:09 +0200
+ https://danishbits.org/torrents.php/Cowgirls.n.Angels.2012.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED&id=960732
+
+ https://danishbits.org/torrents.php/Cowgirls.n.Angels.2012.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED;id=960732
+ http://danishbits.org/torrents.php?id=961790
+
+ N/A
+
-
+
+
+ Thu, 03 May 2018 10:14:07 +0200
+ https://danishbits.org/torrents.php/Cowgirls.n.Angels.2012.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED&id=960731
+
+ https://danishbits.org/torrents.php/Cowgirls.n.Angels.2012.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED;id=960731
+ http://danishbits.org/torrents.php?id=961789
+
+ N/A
+
-
+
+
+ Wed, 02 May 2018 20:54:41 +0200
+ https://danishbits.org/torrents.php/The.Big.Hit.1998.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED&id=960314
+
+ https://danishbits.org/torrents.php/The.Big.Hit.1998.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED;id=960314
+ http://danishbits.org/torrents.php?id=961372
+
+ N/A
+
-
+
+
+ Wed, 02 May 2018 12:18:51 +0200
+ https://danishbits.org/torrents.php/Phantom.Thread.2017.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.7.1-CDB.torrent/?action=download&REPLACED&REPLACED&id=960040
+
+ https://danishbits.org/torrents.php/Phantom.Thread.2017.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.7.1-CDB.torrent/?action=download&REPLACED&REPLACED;id=960040
+ http://danishbits.org/torrents.php?id=961098
+
+ N/A
+
-
+
+
+ Wed, 02 May 2018 11:04:19 +0200
+ https://danishbits.org/torrents.php/Phantom.Thread.2017.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED&id=959995
+
+ https://danishbits.org/torrents.php/Phantom.Thread.2017.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED;id=959995
+ http://danishbits.org/torrents.php?id=961053
+
+ N/A
+
-
+
+
+ Wed, 02 May 2018 10:21:45 +0200
+ https://danishbits.org/torrents.php/Phantom.Thread.2017.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED&id=959975
+
+ https://danishbits.org/torrents.php/Phantom.Thread.2017.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED;id=959975
+ http://danishbits.org/torrents.php?id=961033
+
+ N/A
+
-
+
+
+ Wed, 02 May 2018 01:10:26 +0200
+ https://danishbits.org/torrents.php/The.15.17.to.Paris.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED&id=959619
+
+ https://danishbits.org/torrents.php/The.15.17.to.Paris.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED;id=959619
+ http://danishbits.org/torrents.php?id=960677
+
+ N/A
+
-
+
+
+ Tue, 01 May 2018 20:10:57 +0200
+ https://danishbits.org/torrents.php/Walking.with.the.Enemy.2013.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED&id=959519
+
+ https://danishbits.org/torrents.php/Walking.with.the.Enemy.2013.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED;id=959519
+ http://danishbits.org/torrents.php?id=960577
+
+ N/A
+
-
+
+
+ Tue, 01 May 2018 20:00:46 +0200
+ https://danishbits.org/torrents.php/The.Broken.Circle.Breakdown.2012.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED&id=959512
+
+ https://danishbits.org/torrents.php/The.Broken.Circle.Breakdown.2012.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED;id=959512
+ http://danishbits.org/torrents.php?id=960570
+
+ N/A
+
-
+
+
+ Tue, 01 May 2018 19:59:30 +0200
+ https://danishbits.org/torrents.php/The.Broken.Circle.Breakdown.2012.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED&id=959510
+
+ https://danishbits.org/torrents.php/The.Broken.Circle.Breakdown.2012.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED;id=959510
+ http://danishbits.org/torrents.php?id=960568
+
+ N/A
+
-
+
+
+ Tue, 01 May 2018 18:44:23 +0200
+ https://danishbits.org/torrents.php/The.Boy.in.the.Striped.Pyjamas.2008.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED&id=959491
+
+ https://danishbits.org/torrents.php/The.Boy.in.the.Striped.Pyjamas.2008.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED;id=959491
+ http://danishbits.org/torrents.php?id=960549
+
+ N/A
+
-
+
+
+ Tue, 01 May 2018 18:44:04 +0200
+ https://danishbits.org/torrents.php/The.Boy.in.the.Striped.Pyjamas.2008.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED&id=959490
+
+ https://danishbits.org/torrents.php/The.Boy.in.the.Striped.Pyjamas.2008.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED;id=959490
+ http://danishbits.org/torrents.php?id=960548
+
+ N/A
+
-
+
+
+ Tue, 01 May 2018 17:58:14 +0200
+ https://danishbits.org/torrents.php/27.Gone.Too.Soon.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED&id=959484
+
+ https://danishbits.org/torrents.php/27.Gone.Too.Soon.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED;id=959484
+ http://danishbits.org/torrents.php?id=960542
+
+ N/A
+
-
+
+
+ Tue, 01 May 2018 14:18:26 +0200
+ https://danishbits.org/torrents.php/Most.Likely.to.Murder.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED&id=959367
+
+ https://danishbits.org/torrents.php/Most.Likely.to.Murder.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED;id=959367
+ http://danishbits.org/torrents.php?id=960425
+
+ N/A
+
-
+
+
+ Tue, 01 May 2018 11:41:52 +0200
+ https://danishbits.org/torrents.php/Kriegerin.2011.Retail.DK.SEsubs.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED&id=959254
+
+ https://danishbits.org/torrents.php/Kriegerin.2011.Retail.DK.SEsubs.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED;id=959254
+ http://danishbits.org/torrents.php?id=960312
+
+ N/A
+
-
+
+
+ Tue, 01 May 2018 03:21:36 +0200
+ https://danishbits.org/torrents.php/90.Minutes.in.Heaven.2015.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED&id=958960
+
+ https://danishbits.org/torrents.php/90.Minutes.in.Heaven.2015.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED;id=958960
+ http://danishbits.org/torrents.php?id=960018
+
+ N/A
+
-
+
+
+ Tue, 01 May 2018 03:19:25 +0200
+ https://danishbits.org/torrents.php/90.Minutes.in.Heaven.2015.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED&id=958958
+
+ https://danishbits.org/torrents.php/90.Minutes.in.Heaven.2015.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED;id=958958
+ http://danishbits.org/torrents.php?id=960016
+
+ N/A
+
-
+
+
+ Tue, 01 May 2018 02:30:54 +0200
+ https://danishbits.org/torrents.php/50.to.1.2014.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED&id=958929
+
+ https://danishbits.org/torrents.php/50.to.1.2014.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED;id=958929
+ http://danishbits.org/torrents.php?id=959987
+
+ N/A
+
-
+
+
+ Mon, 30 Apr 2018 21:31:23 +0200
+ https://danishbits.org/torrents.php/Killer.Klowns.from.Outer.Space.1988.NORDiC.REMASTERED.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED&id=958702
+
+ https://danishbits.org/torrents.php/Killer.Klowns.from.Outer.Space.1988.NORDiC.REMASTERED.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED;id=958702
+ http://danishbits.org/torrents.php?id=959760
+
+ N/A
+
-
+
+
+ Mon, 30 Apr 2018 21:30:31 +0200
+ https://danishbits.org/torrents.php/Killer.Klowns.from.Outer.Space.1988.NORDiC.REMASTERED.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED&id=958701
+
+ https://danishbits.org/torrents.php/Killer.Klowns.from.Outer.Space.1988.NORDiC.REMASTERED.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED;id=958701
+ http://danishbits.org/torrents.php?id=959759
+
+ N/A
+
-
+
+
+ Mon, 30 Apr 2018 18:09:08 +0200
+ https://danishbits.org/torrents.php/Monky.2017.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED&id=958582
+
+ https://danishbits.org/torrents.php/Monky.2017.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED;id=958582
+ http://danishbits.org/torrents.php?id=959640
+
+ N/A
+
-
+
+
+ Mon, 30 Apr 2018 18:08:59 +0200
+ https://danishbits.org/torrents.php/Monky.2017.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED&id=958581
+
+ https://danishbits.org/torrents.php/Monky.2017.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED;id=958581
+ http://danishbits.org/torrents.php?id=959639
+
+ N/A
+
-
+
+
+ Mon, 30 Apr 2018 13:08:13 +0200
+ https://danishbits.org/torrents.php/Candy.Jar.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED&id=958467
+
+ https://danishbits.org/torrents.php/Candy.Jar.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED;id=958467
+ http://danishbits.org/torrents.php?id=959525
+
+ N/A
+
-
+
+
+ Sun, 29 Apr 2018 19:29:45 +0200
+ https://danishbits.org/torrents.php/Sugar.Mountain.2016.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED&id=957889
+
+ https://danishbits.org/torrents.php/Sugar.Mountain.2016.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED;id=957889
+ http://danishbits.org/torrents.php?id=958947
+
+ N/A
+
-
+
+
+ Sun, 29 Apr 2018 19:29:39 +0200
+ https://danishbits.org/torrents.php/Sugar.Mountain.2016.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED&id=957888
+
+ https://danishbits.org/torrents.php/Sugar.Mountain.2016.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED;id=957888
+ http://danishbits.org/torrents.php?id=958946
+
+ N/A
+
-
+
+
+ Sun, 29 Apr 2018 18:04:55 +0200
+ https://danishbits.org/torrents.php/The.Rachel.Divide.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED&id=957808
+
+ https://danishbits.org/torrents.php/The.Rachel.Divide.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&REPLACED&REPLACED;id=957808
+ http://danishbits.org/torrents.php?id=958866
+
+ N/A
+
-
+
+
+ Sun, 29 Apr 2018 14:53:03 +0200
+ https://danishbits.org/torrents.php/Deep.Blue.Sea.2.2018.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.5.1-CDB.torrent/?action=download&REPLACED&REPLACED&id=957725
+
+ https://danishbits.org/torrents.php/Deep.Blue.Sea.2.2018.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.5.1-CDB.torrent/?action=download&REPLACED&REPLACED;id=957725
+ http://danishbits.org/torrents.php?id=958783
+
+ N/A
+
-
+
+
+ Sun, 29 Apr 2018 10:28:56 +0200
+ https://danishbits.org/torrents.php/Backstabbing.for.Beginners.2018.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.5.1-CDB.torrent/?action=download&REPLACED&REPLACED&id=957570
+
+ https://danishbits.org/torrents.php/Backstabbing.for.Beginners.2018.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.5.1-CDB.torrent/?action=download&REPLACED&REPLACED;id=957570
+ http://danishbits.org/torrents.php?id=958628
+
+ N/A
+
-
+
+
+ Sun, 29 Apr 2018 08:22:42 +0200
+ https://danishbits.org/torrents.php/Killing.Gunther.2017.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.5.1-CDB.torrent/?action=download&REPLACED&REPLACED&id=957508
+
+ https://danishbits.org/torrents.php/Killing.Gunther.2017.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.5.1-CDB.torrent/?action=download&REPLACED&REPLACED;id=957508
+ http://danishbits.org/torrents.php?id=958566
+
+ N/A
+
+
\ No newline at end of file
diff --git a/src/NzbDrone.Core.Test/IndexerTests/TorrentRssIndexerTests/TorrentRssIndexerFixture.cs b/src/NzbDrone.Core.Test/IndexerTests/TorrentRssIndexerTests/TorrentRssIndexerFixture.cs
index 5113fb401..e253e24c1 100644
--- a/src/NzbDrone.Core.Test/IndexerTests/TorrentRssIndexerTests/TorrentRssIndexerFixture.cs
+++ b/src/NzbDrone.Core.Test/IndexerTests/TorrentRssIndexerTests/TorrentRssIndexerFixture.cs
@@ -232,5 +232,22 @@ public void should_parse_recent_feed_from_AlphaRatio()
torrentInfo.DownloadProtocol.Should().Be(DownloadProtocol.Torrent);
torrentInfo.DownloadUrl.Should().Be("https://alpharatio.cc/torrents.php?action=download&authkey=private_auth_key&torrent_pass=private_torrent_pass&id=465831");
}
+
+ [Test]
+ public void should_parse_recent_feed_from_DanishBits_without_description()
+ {
+ GivenRecentFeedResponse("TorrentRss/DanishBits.xml");
+
+ var oldSettings = Subject.Definition.Settings as TorrentRssIndexerSettings;
+ oldSettings.AllowZeroSize = true;
+ Subject.Definition.Settings = oldSettings;
+
+ var releases = Subject.FetchRecent();
+
+ oldSettings.AllowZeroSize = false;
+ Subject.Definition.Settings = oldSettings;
+
+ releases.Should().HaveCount(30);
+ }
}
}
diff --git a/src/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj b/src/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj
index 73541c02b..a607e14ac 100644
--- a/src/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj
+++ b/src/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj
@@ -397,6 +397,9 @@
Always
Designer
+
+ PreserveNewest
+
Always
diff --git a/src/NzbDrone.Core/Indexers/RssParser.cs b/src/NzbDrone.Core/Indexers/RssParser.cs
index 40445df22..3116861bc 100644
--- a/src/NzbDrone.Core/Indexers/RssParser.cs
+++ b/src/NzbDrone.Core/Indexers/RssParser.cs
@@ -301,7 +301,7 @@ protected virtual string ParseUrl(string value)
public static long ParseSize(string sizeString, bool defaultToBinaryPrefix)
{
- if (sizeString.All(char.IsDigit))
+ if (sizeString.Length > 0 && sizeString.All(char.IsDigit))
{
return long.Parse(sizeString);
}