Data Loaders
Get Youtube Transcript Node
Retrieve the transcript of a Youtube video
This node retrieves the transcript of a Youtube video, given the URL of the youtube video.
Node Inputs
- Youtube URL: The URL of the Youtube video you want to transcribe
- Type:
Text
- Type:
Node Parameters
In the gear:
- Chunk Text: Chunk the articles returned
- Chunk Size (if Chunk Text is set to True): The size of each chunks in tokens (1 token = 4 characters; default is 512 tokens)
- Chunk Overlap (if Chunk Text is set to True): The number of tokens of overlap between chunks (default is 0 tokens)
Node Outputs
- Content: Transcript of the youtube video
- Type:
Text
- Example usage:
{{you_tube_0.content}}
- Type:
Considerations
- Click on the “+” button on the right of the node to create and connect the node to a semantic search node to enable semantic search on the transcript.
Example
The below example shows a pipeline that returns the transcripts of a youtube video based on a youtube link.
- Text Node: Contains the Youtube URL
- Youtube Node: Returns the transcript of the Youtube video based on a youtube link
- Youtube URL:
{{text_0.text}}
- Youtube URL:
- Output Node: Displays the transcript
- Output:
{{you_tube_0.output}}
- Output: