|
|
@ -96,8 +96,8 @@ namespace NzbDrone.Core.Indexers.Cardigann
|
|
|
|
|
|
|
|
|
|
|
|
var variables = GetQueryVariableDefaults(searchCriteria);
|
|
|
|
var variables = GetQueryVariableDefaults(searchCriteria);
|
|
|
|
|
|
|
|
|
|
|
|
variables[".Query.Author"] = null;
|
|
|
|
variables[".Query.Author"] = searchCriteria.Author;
|
|
|
|
variables[".Query.Title"] = null;
|
|
|
|
variables[".Query.Title"] = searchCriteria.Title;
|
|
|
|
|
|
|
|
|
|
|
|
pageableRequests.Add(GetRequest(variables));
|
|
|
|
pageableRequests.Add(GetRequest(variables));
|
|
|
|
|
|
|
|
|
|
|
@ -183,6 +183,11 @@ namespace NzbDrone.Core.Indexers.Cardigann
|
|
|
|
SuppressHttpError = true
|
|
|
|
SuppressHttpError = true
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
foreach (var pair in pairs)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
requestBuilder.AddFormParameter(pair.Key, pair.Value);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
requestBuilder.Headers.Add("Referer", SiteLink);
|
|
|
|
requestBuilder.Headers.Add("Referer", SiteLink);
|
|
|
|
|
|
|
|
|
|
|
|
var response = HttpClient.Execute(requestBuilder.Build());
|
|
|
|
var response = HttpClient.Execute(requestBuilder.Build());
|
|
|
|