mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-15 21:19:39 -05:00
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/14781
Author: @lucyknada
Created: 6/8/2025
Status: ✅ Merged
Merged: 6/8/2025
Merged by: @tjbck
Base:
dev← Head:patch-2📝 Commits (1)
b0965a8fixes #14752 and adds manual transcription option📊 Changes
1 file changed (+28 additions, -6 deletions)
View changed files
📝
backend/open_webui/retrieval/loaders/youtube.py(+28 -6)📄 Description
Pull Request Checklist
devbranch.Changelog Entry
Description
ParseError,AttributeError, andTypeErrorwhen fetching transcripts from certain videos. This change makes the YouTube video embed feature more robust by preventing backend crashes when a transcript is unavailable or invalid.Fixed
TypeErrorwhen raising theNoTranscriptFoundexception by providing the requiredvideo_id,requested_language_codes, andtranscript_dataarguments.xml.etree.ElementTree.ParseErrorby wrapping thetranscript.fetch()call in atry...exceptblock to gracefully handle empty or invalid XML responses from theyoutube_transcript_api.AttributeErrorby correctly accessing the.textattribute onFetchedTranscriptSnippetobjects instead of attempting to use the.get()method.Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.