|
|
|
@ -126,7 +126,7 @@ namespace NzbDrone.Core.Indexers.Newznab
|
|
|
|
|
|
|
|
|
|
protected string TryGetNewznabAttribute(XElement item, string key, string defaultValue = "")
|
|
|
|
|
{
|
|
|
|
|
var attr = item.Elements(ns + "attr").SingleOrDefault(e => e.Attribute("name").Value.Equals(key, StringComparison.CurrentCultureIgnoreCase));
|
|
|
|
|
var attr = item.Elements(ns + "attr").FirstOrDefault(e => e.Attribute("name").Value.Equals(key, StringComparison.CurrentCultureIgnoreCase));
|
|
|
|
|
|
|
|
|
|
if (attr != null)
|
|
|
|
|
{
|
|
|
|
|