|
|
@ -42,7 +42,6 @@ namespace NzbDrone.Core.Providers.Indexer
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
public abstract string Name { get; }
|
|
|
|
public abstract string Name { get; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Generates direct link to download an NZB
|
|
|
|
/// Generates direct link to download an NZB
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
@ -50,7 +49,6 @@ namespace NzbDrone.Core.Providers.Indexer
|
|
|
|
/// <returns>Download link URL</returns>
|
|
|
|
/// <returns>Download link URL</returns>
|
|
|
|
protected abstract string NzbDownloadUrl(SyndicationItem item);
|
|
|
|
protected abstract string NzbDownloadUrl(SyndicationItem item);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Parses the RSS feed item and.
|
|
|
|
/// Parses the RSS feed item and.
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
@ -74,6 +72,16 @@ namespace NzbDrone.Core.Providers.Indexer
|
|
|
|
return null;
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// This method can be overwritten to provide indexer specific info parsing
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
/// <param name="item">RSS item that needs to be parsed</param>
|
|
|
|
|
|
|
|
/// <param name="currentResult">Result of the built in parse function.</param>
|
|
|
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
|
|
|
protected virtual EpisodeParseResult CustomParser(SyndicationItem item, EpisodeParseResult currentResult)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
return currentResult;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Fetches RSS feed and process each news item.
|
|
|
|
/// Fetches RSS feed and process each news item.
|
|
|
|