# Youtube Transcript

**URL:** https://community.make.com/t/youtube-transcript/27310
**Category:** Questions
**Tags:** youtube
**Created:** [February 13, 2024, 12:18pm UTC](https://community.make.com/t/youtube-transcript/27310 "2024-02-13T12:18:12Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Jens](https://avatars.discourse-cdn.com/v4/letter/j/d2c977/32.png) [@Jens](https://community.make.com/u/Jens)
#### Post date: [February 13, 2024, 12:18pm UTC](https://community.make.com/t/youtube-transcript/27310/1 "2024-02-13T12:18:13Z")

</div>

Hey everyone,

does anyone know a way that I can pull the transcript of a Youtube video in a workflow?

Best regards

---

<div class="post-metadata">

### Author: ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)
#### Post date: [February 13, 2024, 12:59pm UTC](https://community.make.com/t/youtube-transcript/27310/2 "2024-02-13T12:59:58Z")

</div>

# 1. No YouTube API method

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.

## A. First part

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`

## B. replace `\u0026` with `&` in another HTTP module

After 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.

 ![Screenshot_2024-02-13_220210](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/2/2/22f63d609fa7d9db9d078f0feca568610667b0a9.png)

# 2. YouTube API method

If you want to use the YouTube app (API), the endpoint URL is

```auto
/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](https://www.make.com/en/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.  
 ![Screenshot_2024-01-17_130153](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/3/9/39cc465d8e6da874408a1f3f2caa2d6de5b3a7aa.png)

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](https://samliew.com/services) – [request private consultation](https://samliew.com/request-quote?ServiceType=Automation%20Consultation&Referrer=Make)

> Join the unofficial [Make Discord server](https://samliew.com/make-discord-invite) to chat with us!

---

<div class="post-metadata">

### Author: ![Jens](https://avatars.discourse-cdn.com/v4/letter/j/d2c977/32.png) [@Jens](https://community.make.com/u/Jens)
#### Post date: [February 13, 2024, 1:15pm UTC](https://community.make.com/t/youtube-transcript/27310/3 "2024-02-13T13:15:03Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)
#### Post date: [February 13, 2024, 2:33pm UTC](https://community.make.com/t/youtube-transcript/27310/4 "2024-02-13T14:33:20Z")

</div>

Updated answer above.

---

<div class="post-metadata">

### Author: ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)
#### Post date: [March 22, 2024, 10:03am UTC](https://community.make.com/t/youtube-transcript/27310/5 "2024-03-22T10:03:03Z")

</div>


