|
|
@ -100,8 +100,6 @@ namespace NzbDrone.Core.Providers.Indexer
|
|
|
|
var searchUrls = GetSeasonSearchUrls(GetQueryTitle(seriesTitle), seasonNumber);
|
|
|
|
var searchUrls = GetSeasonSearchUrls(GetQueryTitle(seriesTitle), seasonNumber);
|
|
|
|
var result = Fetch(searchUrls);
|
|
|
|
var result = Fetch(searchUrls);
|
|
|
|
|
|
|
|
|
|
|
|
result = result.Where(e => e.CleanTitle == Parser.NormalizeTitle(seriesTitle)).ToList();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_logger.Info("Finished searching {0} for {1}-S{2}, Found {3}", Name, seriesTitle, seasonNumber, result.Count);
|
|
|
|
_logger.Info("Finished searching {0} for {1}-S{2}, Found {3}", Name, seriesTitle, seasonNumber, result.Count);
|
|
|
|
return result;
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -115,9 +113,6 @@ namespace NzbDrone.Core.Providers.Indexer
|
|
|
|
|
|
|
|
|
|
|
|
var result = Fetch(searchUrls);
|
|
|
|
var result = Fetch(searchUrls);
|
|
|
|
|
|
|
|
|
|
|
|
result = result.Where(e => e.CleanTitle == Parser.NormalizeTitle(seriesTitle) &&
|
|
|
|
|
|
|
|
e.SeasonNumber == seasonNumber).ToList();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_logger.Info("Finished searching {0} for {1}-S{2}, Found {3}", Name, seriesTitle, seasonNumber, result.Count);
|
|
|
|
_logger.Info("Finished searching {0} for {1}-S{2}, Found {3}", Name, seriesTitle, seasonNumber, result.Count);
|
|
|
|
return result;
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -130,10 +125,6 @@ namespace NzbDrone.Core.Providers.Indexer
|
|
|
|
|
|
|
|
|
|
|
|
var result = Fetch(searchUrls);
|
|
|
|
var result = Fetch(searchUrls);
|
|
|
|
|
|
|
|
|
|
|
|
result = result.Where(e => e.CleanTitle == Parser.NormalizeTitle(seriesTitle) &&
|
|
|
|
|
|
|
|
e.SeasonNumber == seasonNumber && e.EpisodeNumbers.Contains(episodeNumber))
|
|
|
|
|
|
|
|
.ToList();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_logger.Info("Finished searching {0} for {1}-S{2}E{3:00}, Found {4}", Name, seriesTitle, seasonNumber, episodeNumber, result.Count);
|
|
|
|
_logger.Info("Finished searching {0} for {1}-S{2}E{3:00}, Found {4}", Name, seriesTitle, seasonNumber, episodeNumber, result.Count);
|
|
|
|
return result;
|
|
|
|
return result;
|
|
|
|
|
|
|
|
|
|
|
@ -147,9 +138,6 @@ namespace NzbDrone.Core.Providers.Indexer
|
|
|
|
|
|
|
|
|
|
|
|
var result = Fetch(searchUrls);
|
|
|
|
var result = Fetch(searchUrls);
|
|
|
|
|
|
|
|
|
|
|
|
result = result.Where(e => e.CleanTitle == Parser.NormalizeTitle(seriesTitle) &&
|
|
|
|
|
|
|
|
e.AirDate.HasValue && e.AirDate.Value.Date == airDate.Date).ToList();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_logger.Info("Finished searching {0} for {1}-{2}, Found {3}", Name, seriesTitle, airDate.ToShortDateString(), result.Count);
|
|
|
|
_logger.Info("Finished searching {0} for {1}-{2}, Found {3}", Name, seriesTitle, airDate.ToShortDateString(), result.Count);
|
|
|
|
return result;
|
|
|
|
return result;
|
|
|
|
|
|
|
|
|
|
|
|