1
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 13s
Docker Build & Deploy / Deploy to Production (push) Successful in 4s

This commit is contained in:
孙诚
2025-04-03 12:55:32 +08:00
parent cca7b5857e
commit 60705f90e5

View File

@@ -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;