Skip to content

Некорректная обработка ошибок / парсинг ссылки при переводе с японского языка #11

Description

@LudmilaPetrovna

Команда:

vot-cli-live --output=out --lang=ja --output-file=out-ru https://www.youtube.com/watch?v=AAJJf6wUsaI

Обратите внимание, что тут нету ни --voice-style=live, ни --force-live-voices

Выхлоп, где формируется некорректная ссылка:

⚠ Translating finished! (ID: AAJJf6wUsaI).
  ✔ 🔗 Forming a link to the video
  ✔ ❌ При переводе с японского может быть использована только обычная озвучка
  ✖ Downloading failed! Link "При переводе с японского может быть использована только обычная озвучка" not found
  ✔ Finish (ID: AAJJf6wUsaI).

   └─ URL: https://youtu.be/AAJJf6wUsaI
   └─ Platform: youtube
   └─ 📺 Fetching video title...
   └─ 📡 Requesting translation from Yandex API...
✓ Video duration: 336s (5m 36s)
   └─ ✅ Translation received instantly (cached)

Само собой, при добавлении --voice-style=tts все работает корректно.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions