mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-04-24 13:57:11 -04:00
Fixed: (TorrentDay) TV Search returning Series not S/E Results
Fixes #816
This commit is contained in:
parent
9f5d8517e5
commit
b85cd92cca
1 changed files with 4 additions and 5 deletions
|
@ -153,16 +153,15 @@ namespace NzbDrone.Core.Indexers.Definitions
|
|||
|
||||
var catStr = string.Join(";", cats);
|
||||
searchUrl = searchUrl + "?" + catStr;
|
||||
searchUrl += ";q=";
|
||||
|
||||
if (imdbId.IsNotNullOrWhiteSpace())
|
||||
{
|
||||
searchUrl += ";q=" + imdbId;
|
||||
}
|
||||
else
|
||||
{
|
||||
searchUrl += ";q=" + term.UrlEncode(Encoding.UTF8);
|
||||
searchUrl += imdbId + " ".UrlEncode(Encoding.UTF8);
|
||||
}
|
||||
|
||||
searchUrl += term.UrlEncode(Encoding.UTF8);
|
||||
|
||||
var request = new IndexerRequest(searchUrl, HttpAccept.Rss);
|
||||
|
||||
yield return request;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue