diff --git a/src/libse/AutoTranslate/AnthropicTranslate.cs b/src/libse/AutoTranslate/AnthropicTranslate.cs index bad086afd..fc2a6322d 100644 --- a/src/libse/AutoTranslate/AnthropicTranslate.cs +++ b/src/libse/AutoTranslate/AnthropicTranslate.cs @@ -74,8 +74,10 @@ namespace Nikse.SubtitleEdit.Core.AutoTranslate result.EnsureSuccessStatusCode(); + SeLogger.Error($"{StaticName}: debug json: " + json); + var parser = new SeJsonParser(); - var resultText = parser.GetFirstObject(json, "content"); + var resultText = parser.GetFirstObject(json, "text"); if (resultText == null) { return string.Empty;