mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-04-14 08:50:48 +02:00
Fixed: Newznab book search type
This commit is contained in:
parent
e81c6016a1
commit
34ff1edd00
1 changed files with 7 additions and 2 deletions
|
|
@ -96,8 +96,8 @@ public IndexerPageableRequestChain GetSearchRequests(BookSearchCriteria searchCr
|
|||
|
||||
var variables = GetQueryVariableDefaults(searchCriteria);
|
||||
|
||||
variables[".Query.Author"] = null;
|
||||
variables[".Query.Title"] = null;
|
||||
variables[".Query.Author"] = searchCriteria.Author;
|
||||
variables[".Query.Title"] = searchCriteria.Title;
|
||||
|
||||
pageableRequests.Add(GetRequest(variables));
|
||||
|
||||
|
|
@ -183,6 +183,11 @@ public void DoLogin()
|
|||
SuppressHttpError = true
|
||||
};
|
||||
|
||||
foreach (var pair in pairs)
|
||||
{
|
||||
requestBuilder.AddFormParameter(pair.Key, pair.Value);
|
||||
}
|
||||
|
||||
requestBuilder.Headers.Add("Referer", SiteLink);
|
||||
|
||||
var response = HttpClient.Execute(requestBuilder.Build());
|
||||
|
|
|
|||
Loading…
Reference in a new issue