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