mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-21 22:04:31 -04:00
fixed nzbclub parser.
This commit is contained in:
@@ -5,8 +5,6 @@ using System.IO;
|
||||
using System.ServiceModel.Syndication;
|
||||
using System.Text.RegularExpressions;
|
||||
using NLog;
|
||||
using NzbDrone.Core.Model;
|
||||
using NzbDrone.Core.Parser;
|
||||
using NzbDrone.Core.Parser.Model;
|
||||
|
||||
namespace NzbDrone.Core.Indexers
|
||||
@@ -27,6 +25,7 @@ namespace NzbDrone.Core.Indexers
|
||||
|
||||
public IEnumerable<ReportInfo> Process(Stream source)
|
||||
{
|
||||
//TODO: replace this BS with plain Linq to XML
|
||||
var reader = new SyndicationFeedXmlReader(source);
|
||||
var feed = SyndicationFeed.Load(reader).Items;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user