mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Rename WebClientStringResult.Content to WebClientStringResult.ContentString
This commit is contained in:
@@ -180,9 +180,9 @@ namespace Jackett.Common.Indexers
|
||||
|
||||
// Get the content from the tracker
|
||||
var response = await RequestStringWithCookiesAndRetry(queryUrl);
|
||||
if (!response.Content.StartsWith("{")) // not JSON => error
|
||||
if (!response.ContentString.StartsWith("{")) // not JSON => error
|
||||
throw new ExceptionWithConfigData("unexcepted response (not JSON)", configData);
|
||||
dynamic json = JsonConvert.DeserializeObject<dynamic>(response.Content);
|
||||
dynamic json = JsonConvert.DeserializeObject<dynamic>(response.ContentString);
|
||||
|
||||
// Parse
|
||||
try
|
||||
@@ -418,7 +418,7 @@ namespace Jackett.Common.Indexers
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
OnParseError(response.Content, ex);
|
||||
OnParseError(response.ContentString, ex);
|
||||
}
|
||||
|
||||
// Add to the cache
|
||||
|
Reference in New Issue
Block a user