Subtitles for YouTube

FREEMIUM
От yashagarwal | Обновлено 한 달 전 | Data
Популярность

9.8 / 10

Задержка

852ms

Уровень обслуживания

100%

Health Check

N/A

Назад ко всем обсуждениям

Question about Captions Resource

Rapid account: Greg 8 Q Q Vv Ci L

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년 전

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?

Присоединяйтесь к обсуждению – добавьте комментарий ниже:

Войдите / Зарегистрируйтесь, чтобы публиковать новые комментарии