mirror of
https://github.com/Jackett/Jackett
synced 2025-02-25 07:32:38 +00:00
Cardigann: improve search URL handling
This commit is contained in:
parent
54b14090dd
commit
5599b05fb3
1 changed files with 5 additions and 1 deletions
|
@ -908,8 +908,12 @@ namespace Jackett.Indexers
|
|||
queryCollection.Add(Input.Key, value);
|
||||
}
|
||||
}
|
||||
if (queryCollection.Count > 0)
|
||||
searchUrl += "&" + queryCollection.GetQueryString();
|
||||
|
||||
// in case no args are added remove ? again (needed for KAT)
|
||||
searchUrl = searchUrl.TrimEnd('?');
|
||||
|
||||
// send HTTP request
|
||||
var response = await RequestStringWithCookies(searchUrl);
|
||||
var results = response.Content;
|
||||
|
|
Loading…
Reference in a new issue