# 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:** 1\
**Showing post:** 2

<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!

---

_[View the full topic](https://community.make.com/t/youtube-transcript/27310)._
