Fixed namespace detection for EZRSS now DOCTYPE is gone.
This commit is contained in:
parent
6585aed0a9
commit
45cdb98c58
|
@ -212,6 +212,13 @@ namespace NzbDrone.Core.Indexers.TorrentRss
|
|||
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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue