Subtitles for YouTube

부분 유료
분류별 yashagarwal | 업데이트됨 1ヶ月前 | Data
인기

9.8 / 10

지연 시간

852ms

서비스 수준

100%

Health Check

N/A

모든 토론으로 돌아가기

Question about Captions Resource

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?

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입