diff --git a/NzbDrone.Core/Providers/Indexer/Newzbin.cs b/NzbDrone.Core/Providers/Indexer/Newzbin.cs index a5e33a212..f8c4e53b1 100644 --- a/NzbDrone.Core/Providers/Indexer/Newzbin.cs +++ b/NzbDrone.Core/Providers/Indexer/Newzbin.cs @@ -72,6 +72,16 @@ protected override IList GetSearchUrls(SearchModel searchModel) }; } + if (searchModel.SearchType == SearchType.DailySearch) + { + return new List + { + String.Format( + @"http://www.newzbin.com/search/query/?q={0}+{1:yyyy-MM-dd}&fpn=p&searchaction=Go&category=8&{2}", + searchModel.SeriesTitle, searchModel.AirDate, UrlParams) + }; + } + return new List(); } diff --git a/NzbDrone.Core/Providers/Indexer/Newznab.cs b/NzbDrone.Core/Providers/Indexer/Newznab.cs index 8c2ac0784..06ae7c416 100644 --- a/NzbDrone.Core/Providers/Indexer/Newznab.cs +++ b/NzbDrone.Core/Providers/Indexer/Newznab.cs @@ -49,9 +49,14 @@ protected override IList GetSearchUrls(SearchModel searchModel) if (searchModel.SearchType == SearchType.SeasonSearch) { - //Todo: Allow full season searching to process individual episodes - //searchUrls.Add(String.Format("{0}&limit=100&q={1}&season{2}", url, searchModel.SeriesTitle, searchModel.SeasonNumber)); - searchUrls.Add(String.Format("{0}&limit=100&q={1}+Season", url, searchModel.SeriesTitle)); + searchUrls.Add(String.Format("{0}&limit=100&q={1}&season={2}", url, searchModel.SeriesTitle, searchModel.SeasonNumber)); + //searchUrls.Add(String.Format("{0}&limit=100&q={1}+Season", url, searchModel.SeriesTitle)); + } + + if (searchModel.SearchType == SearchType.DailySearch) + { + searchUrls.Add(String.Format("{0}&limit=100&q={1}+{2:yyyy MM dd}", url, searchModel.SeriesTitle, + searchModel.AirDate)); } } diff --git a/NzbDrone.Core/Providers/Indexer/NzbMatrix.cs b/NzbDrone.Core/Providers/Indexer/NzbMatrix.cs index ac9f40ff8..8857c3d97 100644 --- a/NzbDrone.Core/Providers/Indexer/NzbMatrix.cs +++ b/NzbDrone.Core/Providers/Indexer/NzbMatrix.cs @@ -64,6 +64,12 @@ protected override IList GetSearchUrls(SearchModel searchModel) searchUrls.Add(String.Format("{0}&term={1}+Season", url, searchModel.SeriesTitle)); searchUrls.Add(String.Format("{0}&term={1}+S{2:00}", url, searchModel.SeriesTitle, searchModel.SeasonNumber)); } + + if (searchModel.SearchType == SearchType.DailySearch) + { + searchUrls.Add(String.Format("{0}&term={1}+{2:yyyy MM dd}", url, searchModel.SeriesTitle, + searchModel.AirDate)); + } } return searchUrls; diff --git a/NzbDrone.Core/Providers/Indexer/NzbsOrg.cs b/NzbDrone.Core/Providers/Indexer/NzbsOrg.cs index 14001438a..e7e05c841 100644 --- a/NzbDrone.Core/Providers/Indexer/NzbsOrg.cs +++ b/NzbDrone.Core/Providers/Indexer/NzbsOrg.cs @@ -62,6 +62,12 @@ protected override IList GetSearchUrls(SearchModel searchModel) searchUrls.Add(String.Format("{0}&action=search&q={1}+Season", url, searchModel.SeriesTitle)); searchUrls.Add(String.Format("{0}&action=search&q={1}+S{2:00}", url, searchModel.SeriesTitle, searchModel.SeasonNumber)); } + + if (searchModel.SearchType == SearchType.DailySearch) + { + searchUrls.Add(String.Format("{0}&action=search&q={1}+{2:yyyy.MM.dd}", url, searchModel.SeriesTitle, + searchModel.AirDate)); + } } return searchUrls;