mirror of
https://github.com/lidarr/Lidarr
synced 2025-03-15 08:19:05 +00:00
25 lines
No EOL
568 B
C#
25 lines
No EOL
568 B
C#
using System;
|
|
using System.Xml.Linq;
|
|
|
|
namespace NzbDrone.Core.Indexers.Wombles
|
|
{
|
|
public class WomblesParser : RssParserBase
|
|
{
|
|
protected override string GetNzbInfoUrl(XElement item)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
protected override long GetSize(XElement item)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
protected override DateTime GetPublishDate(XElement item)
|
|
{
|
|
var dateString = item.TryGetValue("pubDate") + " +0000";
|
|
|
|
return XElementExtensions.ParseDate(dateString);
|
|
}
|
|
}
|
|
} |