Hey everyone,
does anyone know a way that I can pull the transcript of a Youtube video in a workflow?
Best regards
Hey everyone,
does anyone know a way that I can pull the transcript of a Youtube video in a workflow?
Best regards
Send a HTTP request to the short YouTube video link https://youtu.be/YbJOTdZBX1g
, search for timedtext
in the result, and you would get a URL. Replace \u0026
with &
and you get a temporary link for the subtitle.
The URL can be extracted using a Text Parser “Match Pattern” module. It should look something like this.
https://www.youtube.com/api/timedtext?v=YbJOTdZBX1g\u0026ei=H3zLZZWoNsnw4-EP0fKe0AM\u0026opi=112496729\u0026xoaf=5\u0026hl=en-GB\u0026ip=0.0.0.0\u0026ipbits=0\u0026expire=1707859599\u0026sparams=ip,ipbits,expire,v,ei,opi,xoaf\u0026signature=AC753DEF793E9B5F045E5897EE5F7783CC9CD879.739C7DB16188CDA03389249BC173170447BE1B46\u0026key=yt8\u0026lang=bs
\u0026
with &
in another HTTP moduleAfter replacing the URL, it should look something like this:
https://www.youtube.com/api/timedtext?v=YbJOTdZBX1g&ei=H3zLZZWoNsnw4-EP0fKe0AM&opi=112496729&xoaf=5&hl=en-GB&ip=0.0.0.0&ipbits=0&expire=1707859599&sparams=ip,ipbits,expire,v,ei,opi,xoaf&signature=AC753DEF793E9B5F045E5897EE5F7783CC9CD879.739C7DB16188CDA03389249BC173170447BE1B46&key=yt8&lang=bs
This link is valid for approximately 7 minutes.
You will get an XML of the file when you call this link using the HTTP module.
If you want to use the YouTube app (API), the endpoint URL is
/v3/captions?videoId=dQw4w9WgXcQ&part=snippet&key=(my_api_key)
I’m sure others would agree that this is a nice feature to have for the YouTube app.
You can submit this suggestion to the Idea exchange, under App improvement ideas.
Don’t forget to search for it first, just in case someone already suggested it, so that you don’t end up creating a duplicate.
If you need assistance in setting up the generic HTTP module, please provide additional information about what you have tried with regards to the above.
samliew – request private consultation
Join the unofficial Make Discord server to chat with us!
Hey @samliew,
Thank you very much for your help! I’ve just tried it with the link, but when I try it in the browser, no transcript is displayed.
I would like to summarize our own YouTube videos via the subtitle/transcript.
Updated answer above.