|
|
@ -61,13 +61,13 @@ namespace NzbDrone.Core.Providers.Indexer
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
public void Fetch()
|
|
|
|
public void Fetch()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
_logger.Info("Fetching feeds from " + Settings.Name);
|
|
|
|
_logger.Debug("Fetching feeds from " + Settings.Name);
|
|
|
|
|
|
|
|
|
|
|
|
foreach (var url in Urls)
|
|
|
|
foreach (var url in Urls)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
try
|
|
|
|
try
|
|
|
|
{
|
|
|
|
{
|
|
|
|
_logger.Debug("Downloading RSS " + url);
|
|
|
|
_logger.Trace("Downloading RSS " + url);
|
|
|
|
var feed = SyndicationFeed.Load(_httpProvider.DownloadXml(url)).Items;
|
|
|
|
var feed = SyndicationFeed.Load(_httpProvider.DownloadXml(url)).Items;
|
|
|
|
|
|
|
|
|
|
|
|
foreach (var item in feed)
|
|
|
|
foreach (var item in feed)
|
|
|
|