Subtitles for YouTube

फ्रीमियम
द्वारा yashagarwal | अपडेट किया गया a month ago | Data
लोकप्रियता

9.8 / 10

लेटेंसी

852ms

सेवा का स्तर

100%

Health Check

N/A

सभी चर्चाओं पर वापस जाएं

Question about Captions Resource

Rapid account: Greg 8 Q Q Vv Ci L
greg-8Q_QVvCiL
2 years ago

I’d like to purchase your service. However, I am looking to get a list captions for a given YouTube ID.

I want to know the snippet.trackKind

I am looking for standard, ASR or if the video has no captions tracks at all.

https://developers.google.com/youtube/v3/docs/captions

Can I get that through your service?

Rapid account: Yashagarwal
yashagarwal Commented 2 years ago

You can use the list subtitles API (/subtitles/<video_id>/list) -

We return a JSON response with all available subtitles for that video with following information Currently the response looks something like this for video id UdgRUCVUts0 -

[
{
“id”: 0,
“isTranslatable”: true,
“lang”: “en-US”,
“autoGenerated”: false,
“name”: “English (United States)”
},
{
“id”: 1,
“isTranslatable”: true,
“lang”: “en”,
“autoGenerated”: true,
“kind”: “asr”,
“name”: “English (auto-generated)”,
“vssId”: “a.en”
}
]

Let me know if this information is enough for your use case. Or do you need any customisation?

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें