mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-03-29 00:35:52 +00:00
Fixed namespace detection for EZRSS now DOCTYPE is gone.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user