mirror of
https://github.com/Radarr/Radarr
synced 2024-12-29 03:15:19 +00:00
New: Special searching on RARBG
This commit is contained in:
parent
8373024f9d
commit
7ca67fe57a
1 changed files with 11 additions and 1 deletions
|
@ -60,7 +60,17 @@ public virtual IndexerPageableRequestChain GetSearchRequests(AnimeEpisodeSearchC
|
|||
|
||||
public virtual IndexerPageableRequestChain GetSearchRequests(SpecialEpisodeSearchCriteria searchCriteria)
|
||||
{
|
||||
return new IndexerPageableRequestChain();
|
||||
var pageableRequests = new IndexerPageableRequestChain();
|
||||
|
||||
foreach (var queryTitle in searchCriteria.EpisodeQueryTitles)
|
||||
{
|
||||
var query = queryTitle.Replace('+', ' ');
|
||||
query = System.Web.HttpUtility.UrlEncode(query);
|
||||
|
||||
pageableRequests.Add(GetPagedRequests("search", searchCriteria.Series.TvdbId, query));
|
||||
}
|
||||
|
||||
return pageableRequests;
|
||||
}
|
||||
|
||||
private IEnumerable<IndexerRequest> GetPagedRequests(string mode, int? tvdbId, string query, params object[] args)
|
||||
|
|
Loading…
Reference in a new issue