From 588a48e65df4e160d44938675fdbca68e04b9b78 Mon Sep 17 00:00:00 2001 From: Tim Schindler Date: Sun, 8 Jan 2017 18:49:27 -0500 Subject: [PATCH] update rss sync and fix search for omgwtfnzbs indexer --- .../Indexers/Omgwtfnzbs/OmgwtfnzbsRequestGenerator.cs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/Indexers/Omgwtfnzbs/OmgwtfnzbsRequestGenerator.cs b/src/NzbDrone.Core/Indexers/Omgwtfnzbs/OmgwtfnzbsRequestGenerator.cs index 983b15a32..a0b81decd 100644 --- a/src/NzbDrone.Core/Indexers/Omgwtfnzbs/OmgwtfnzbsRequestGenerator.cs +++ b/src/NzbDrone.Core/Indexers/Omgwtfnzbs/OmgwtfnzbsRequestGenerator.cs @@ -92,7 +92,7 @@ public virtual IndexerPageableRequestChain GetSearchRequests(SpecialEpisodeSearc private IEnumerable GetPagedRequests(string query) { var url = new StringBuilder(); - url.AppendFormat("{0}?catid=19,20&user={1}&api={2}&eng=1&delay={3}", BaseUrl, Settings.Username, Settings.ApiKey, Settings.Delay); + url.AppendFormat("{0}?catid=15,16,17&user={1}&api={2}&eng=1&delay={3}", BaseUrl, Settings.Username, Settings.ApiKey, Settings.Delay); if (query.IsNotNullOrWhiteSpace()) { @@ -105,7 +105,12 @@ private IEnumerable GetPagedRequests(string query) public IndexerPageableRequestChain GetSearchRequests(MovieSearchCriteria searchCriteria) { - return new IndexerPageableRequestChain(); + var pageableRequests = new IndexerPageableRequestChain(); + + pageableRequests.Add(GetPagedRequests(string.Format("{0}", + searchCriteria.Movie.Title))); + + return pageableRequests; } } }