1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-05 02:22:31 +01:00

Use rss-download for omg RSS feed

This commit is contained in:
Mark McDowall 2015-01-21 23:00:05 -08:00
parent a11d118e32
commit 313e48be61

View File

@ -14,7 +14,7 @@ public class OmgwtfnzbsRequestGenerator : IIndexerRequestGenerator
public OmgwtfnzbsRequestGenerator() public OmgwtfnzbsRequestGenerator()
{ {
BaseUrl = "https://rss.omgwtfnzbs.org/rss-search.php"; BaseUrl = "https://rss.omgwtfnzbs.org/rss-download.php";
} }
public virtual IList<IEnumerable<IndexerRequest>> GetRecentRequests() public virtual IList<IEnumerable<IndexerRequest>> GetRecentRequests()
@ -96,6 +96,7 @@ private IEnumerable<IndexerRequest> GetPagedRequests(String query)
if (query.IsNotNullOrWhiteSpace()) if (query.IsNotNullOrWhiteSpace())
{ {
url = url.Replace("rss-download.php", "rss-search.php");
url.AppendFormat("&search={0}", query); url.AppendFormat("&search={0}", query);
} }