Lidarr/NzbDrone.Core/Indexers/FileSharingTalk/FileSharingTalkParser.cs

26 lines
669 B
C#
Raw Normal View History

2013-04-07 07:30:37 +00:00
using System.ServiceModel.Syndication;
using NzbDrone.Core.Model;
using NzbDrone.Core.Parser;
using NzbDrone.Core.Parser.Model;
2013-04-07 07:30:37 +00:00
namespace NzbDrone.Core.Indexers.FileSharingTalk
{
public class FileSharingTalkParser : BasicRssParser
{
protected override string GetNzbInfoUrl(SyndicationItem item)
{
return item.Id;
}
protected override ReportInfo PostProcessor(SyndicationItem item, ReportInfo currentResult)
2013-04-07 07:30:37 +00:00
{
if (currentResult != null)
{
currentResult.Size = 0;
currentResult.Age = 0;
}
return currentResult;
}
}
}