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

[BUG]: Youtube transcript fetcher broken to provider #887

@timothycarambat

Description

@timothycarambat

How are you running AnythingLLM?

Not listed

What happened?

All environments impacted. We use the LangChainJS loader for Youtube for simplicity - and we have yet again been bit by abstraction control.

The underlying youtubei.js library has suffered link-rot and the additional_metadata now fails to return a response from Youtube. Whether this is from a bug on YT side or the library (seems lib) we should allow failure of additional metadata as the transcript is the only relevant part.

eg:
https://www.youtube.com/watch?v=-Rs8-M-xBFI

Failed to get YouTube video transcription: Request to youtube.com/youtubei/vtrue/player?key=... failed with status 400

Request to youtube.com/youtubei/**vtrue**/player?key=.... => probably is supposed to be v1

Are there known steps to reproduce?

attempt YT transcript

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions