|
|
|
@ -161,6 +161,7 @@ namespace NzbDrone.Core.Indexers
|
|
|
|
|
{
|
|
|
|
|
releaseInfo.Guid = GetGuid(item);
|
|
|
|
|
releaseInfo.Title = GetTitle(item);
|
|
|
|
|
releaseInfo.Description = GetDescription(item);
|
|
|
|
|
releaseInfo.PublishDate = GetPublishDate(item);
|
|
|
|
|
releaseInfo.DownloadUrl = GetDownloadUrl(item);
|
|
|
|
|
releaseInfo.InfoUrl = GetInfoUrl(item);
|
|
|
|
@ -195,6 +196,11 @@ namespace NzbDrone.Core.Indexers
|
|
|
|
|
return item.TryGetValue("title", "Unknown");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected virtual string GetDescription(XElement item)
|
|
|
|
|
{
|
|
|
|
|
return item.TryGetValue("description", null);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected virtual ICollection<IndexerCategory> GetCategory(XElement item)
|
|
|
|
|
{
|
|
|
|
|
return new List<IndexerCategory> { NewznabStandardCategory.Other };
|
|
|
|
|