Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Support for Selecting or Fetching Multiple Subtitle Languages from YouTube Videos #8

Open
neon-auxo opened this issue Nov 26, 2024 · 2 comments

Comments

@neon-auxo
Copy link

Currently, when fetching subtitles from YouTube videos, it is unclear how to select a specific subtitle language or retrieve all available subtitle files. This limitation can make it challenging to work with videos that offer multiple subtitle languages. Can you support for selecting subitle languages or fetching all subtiles? It would significantly enhance the tool’s functionality and versatility. Thanks for your works.

@hapheus
Copy link
Owner

hapheus commented Nov 27, 2024

Thank you for your feedback and suggestion!

Currently, this node retrieves the automatically generated transcripts from YouTube, not the subtitles. Unfortunately, earlier this year, YouTube made changes to their internal API, which broke many libraries that were used to fetch subtitles. Because of this, it’s no longer straightforward to retrieve subtitles in specific languages or all available subtitle files.

If a reliable method to access YouTube subtitles becomes available again, I’d be happy to build a new node or extend this one to support that functionality. Until then, the current implementation focuses on transcripts as a workaround.

Thank you for understanding, and I appreciate your support!

@neon-auxo
Copy link
Author

Thank you for your detailed explanation and thoughtful response. I appreciate your transparency about the current limitations and challenges due to YouTube’s API changes. I look forward to future developments and improvements.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants