mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-25 22:36:59 -04:00
Fixed: Torznab parsing when enclosure is magent link
This commit is contained in:
@@ -48,7 +48,7 @@ namespace NzbDrone.Core.Indexers.Torznab
|
||||
protected override ReleaseInfo PostProcess(XElement item, ReleaseInfo releaseInfo)
|
||||
{
|
||||
var enclosureType = item.Element("enclosure").Attribute("type").Value;
|
||||
if (enclosureType != "application/x-bittorrent")
|
||||
if (!enclosureType.Contains("application/x-bittorrent"))
|
||||
{
|
||||
throw new UnsupportedFeedException("Feed contains {0} instead of application/x-bittorrent", enclosureType);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user