mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
Use rss-download for omg RSS feed
This commit is contained in:
parent
a11d118e32
commit
313e48be61
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user