1
This commit is contained in:
@@ -429,14 +429,14 @@ public class ChineseNfoRegistry : Registry, IChineseNfoRegistry
|
||||
{
|
||||
var response = await _client.GetAsync(requestUrl);
|
||||
|
||||
await Task.Delay(10000);
|
||||
|
||||
if (!response.IsSuccessStatusCode)
|
||||
{
|
||||
Console.WriteLine($"{requestUrl} & {path} & {response.StatusCode}");
|
||||
return null;
|
||||
}
|
||||
|
||||
await Task.Delay(10000);
|
||||
|
||||
var content = await response.Content.ReadAsStringAsync();
|
||||
var json = JsonNode.Parse(content);
|
||||
return json as JsonObject;
|
||||
|
||||
Reference in New Issue
Block a user