langchain_community.document_loaders.blob_loaders.youtube_audio.YoutubeAudioLoader¶

class langchain_community.document_loaders.blob_loaders.youtube_audio.YoutubeAudioLoader(urls: List[str], save_dir: str)[source]¶

Load YouTube urls as audio file(s).

Methods

__init__(urls, save_dir)

yield_blobs()

Yield audio blobs for each url.

Parameters
  • urls (List[str]) –

  • save_dir (str) –

__init__(urls: List[str], save_dir: str)[source]¶
Parameters
  • urls (List[str]) –

  • save_dir (str) –

yield_blobs() Iterable[Blob][source]¶

Yield audio blobs for each url.

Return type

Iterable[Blob]

Examples using YoutubeAudioLoader¶