Get YouTube Transcript

I am seeking assistance in converting a Python script, which retrieves YouTube transcripts without the need for authentication, into an n8n node. My initial efforts at configuring an HTTP Get node have been unsuccessful, particularly in the aspects of setting up the Google Cloud Console and configuring the node’s credentials. I’d like to understand the proper setup and configuration process for achieving the script’s functionality within the n8n platform. Below is the original Python script I wish to translate, followed by my current attempt at creating an HTTP node in n8n.

SCRIPT (Colab Syntax):

!pip install youtube_transcript_api

from youtube_transcript_api import YouTubeTranscriptApi

url = ''

video_id = url.replace('', '')

transcript = YouTubeTranscriptApi.get_transcript(video_id)


for x in transcript:
  sentence = x['text']
  output += f' {sentence}\n'


Here is my attempt at an HTTP node:

Console Configuration:

Current node Oauth Set up:

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:
  • n8n version: latest, cloud version
  • Database (default: SQLite): none
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): cloud
  • Operating system: macos

Well split… I am impressed! Well done indeed. Simple, straightforward, but sleek. :+1: :facepunch:

Thanks. I am still looking for help however!

Bump. If anyone can help, it would be greatly appreciated

Hi, I am trying to do quite the same:
1- enter a list of youtube channels,
2- per channel, if new videos were posted on the last day, get the transcript,
3- compile all transcripts into a google doc.

Did you manage to setup your workflow?
1 and 2 seem easier with Google Sheet AppScript, but I’d like to succeed to do it in n8n.

1 Like

did you get this to work? trying to figure out exactly this right now

I’m sorry, but that part of my project is currently in limbo.

I am still searching for a solution.