A custom n8n node for fetching YouTube video transcripts using the youtube-transcript library.
npm install n8n-nodes-youtube-transcription-kashaThis is a custom node for n8n that retrieves the transcript of a YouTube video using its video ID. It integrates the functionality provided by the youtube-transcription library.
This project is intended solely for local use and should be utilized for testing, learning, or educational purposes only. By using this project, you agree that all usage is entirely at your own risk, and the author holds no responsibility for any outcomes, issues, or liabilities resulting from its use.
It is your responsibility to ensure that your use of this project complies with all applicable laws, regulations, and platform guidelines, including but not limited to YouTube's Terms of Service and Community Guidelines. Use responsibly and ethically.
1. Open your n8n project.
2. Navigate to Settings > Community Nodes.
3. Search for the custom node repository and install it into your project.
4. Restart your n8n instance if necessary.
Alternatively, you can clone this repository into your n8n custom nodes folder and build the project.
Video ID parameter with the ID of the YouTube video you want to process.``json`
{
"youtubeId": "fdsadas3",
"transcript": [
{
"text": "Hey guys, welcome to leonardo grigorio channel",
"duration": 6.12,
"offset": 1,
"lang": "pt"
},
{
"text": "we will be talking a lot on AI development",
"duration": 6.601,
"offset": 3.719,
"lang": "pt"
},
{
"text": "and langchain",
"duration": 5.12,
"offset": 7.12,
"lang": "pt"
}
]
}
---
Enjoy using the YouTube Transcript Node in your n8n workflows! If you encounter any issues, feel free to contribute or report them in the project's repository.