Subtitles for YouTube

ÜCRETSİZ PREMIUM
Taraf yashagarwal | Güncelleyen a month ago | Data
Popülerlik

9.8 / 10

Gecikme

852ms

Hizmet Düzeyi

100%

Health Check

N/A

Tüm Tartışmalara Dön

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?

Aşağıya yorum ekleyerek tartışmaya katılın:

Yeni yorumlar göndermek için giriş yapın / kaydolun