mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
fixed nzbclub parser.
This commit is contained in:
parent
16425cdab6
commit
385edbf464
14 changed files with 94 additions and 64 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue