这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@AoiYamada
Copy link
Contributor

@AoiYamada AoiYamada commented Sep 27, 2025

The issue #1770 is a real bug for non asr caption or non en caption because the values are hardcoded.

For example:
https://www.youtube.com/watch?v=D111ao6wWH0

this video has a "zh-HK" language caption with empty string caption kind "" instead of "asr".

Pull Request Type

  • ✨ feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

resolves #1770

What is in this change?

Get the caption info of the YouTube video, analyze the track info, and select the preferred transcript info as params to fetch the transcript.

Additional Information

Before the fix, non asr non en caption causes Transcript segments not found in response error:

螢幕截圖 2025-09-27 下午11 13 21

After the fix, transcript could be fetched:

螢幕截圖 2025-09-27 下午11 14 44

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

@timothycarambat timothycarambat self-assigned this Sep 29, 2025
@timothycarambat timothycarambat added the PR:needs review Needs review by core team label Sep 29, 2025
@timothycarambat timothycarambat merged commit 8fc1f24 into Mintplex-Labs:master Sep 29, 2025
1 check passed
@timothycarambat
Copy link
Member

Beautiful PR, almost shed a tear. Thanks 👍

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

Labels

PR:needs review Needs review by core team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: YouTube Link Issue

2 participants