mirror of
https://github.com/Readarr/Readarr
synced 2026-01-04 14:43:42 +01:00
Fixed namespace detection for EZRSS now DOCTYPE is gone.
This commit is contained in:
parent
6585aed0a9
commit
45cdb98c58
1 changed files with 7 additions and 0 deletions
|
|
@ -212,6 +212,13 @@ private bool IsEZTVFeed(IndexerResponse response)
|
|||
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 a new issue