Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
OnlyFart committed Sep 16, 2024
1 parent 8f3d14d commit fe97dd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Core/Logic/Getters/MyBookGetter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ private async Task<List<TempFile>> GetAudio(long bookId) {
var file = files[i];
var url = SystemUrl.MakeRelativeUri(file.Url);

Config.Logger.LogInformation($"Звгружаю аудиофайл {i + 1}/{files.Count} {url}");
Config.Logger.LogInformation($"Загружаю аудиофайл {i + 1}/{files.Count} {url}");
SetAuthHeader("GET", url);

var name = file.Title;
Expand Down
2 changes: 1 addition & 1 deletion Core/Logic/Getters/StrokiMtsGetter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ private async Task<List<TempFile>> GetAudio(StrokiMtsApiMultiResponse details) {
var meta = fileMetas[i];
var fileUrl = await GetFileUrl(meta);

Config.Logger.LogInformation($"Звгружаю аудиоверсию {i + 1}/{fileMetas.Length} {fileUrl.Url}");
Config.Logger.LogInformation($"Загружаю аудиоверсию {i + 1}/{fileMetas.Length} {fileUrl.Url}");
var response = await Config.Client.GetWithTriesAsync(fileUrl.Url.AsUri());
result.Add(await TempFile.Create(fileUrl.Url.AsUri(), Config.TempFolder.Path, $"{i}_{fileUrl.Url.AsUri().GetFileName()}", await response.Content.ReadAsStreamAsync()));
Config.Logger.LogInformation($"Аудиоверсия {i + 1}/{fileMetas.Length} {fileUrl.Url} загружена");
Expand Down

0 comments on commit fe97dd9

Please sign in to comment.