Fixed namespace detection for EZRSS now DOCTYPE is gone.

pull/6/head
Taloth Saldono 9 years ago
parent 6585aed0a9
commit 45cdb98c58

@ -212,6 +212,13 @@ namespace NzbDrone.Core.Indexers.TorrentRss
return true; return true;
} }
// Check namespaces
if (document.Descendants().Any(v => v.GetDefaultNamespace().NamespaceName == "http://xmlns.ezrss.it/0.1/"))
{
_logger.Trace("Identified feed as EZTV compatible by EZTV Namespace");
return true;
}
return false; return false;
} }
} }

Loading…
Cancel
Save