Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CaptionList ¶
type CaptionList struct {
PCTR PlayerCaptionsTracklistRenderer `json:"playerCaptionsTracklistRenderer"`
}
CaptionList ...
type CaptionTrack ¶
type CaptionTrack struct {
BaseURL string `json:"baseUrl"`
Name Name `json:"name"`
VssID string `json:"vssId"`
LanguageCode string `json:"languageCode"`
Kind string `json:"kind,omitempty"`
IsTranslatable bool `json:"isTranslatable"`
}
CaptionTrack ...
type PlayerCaptionsTracklistRenderer ¶
type PlayerCaptionsTracklistRenderer struct {
CaptionTracks []CaptionTrack `json:"captionTracks"`
}
PlayerCaptionsTracklistRenderer ...
type Transcript ¶
Transcript ...
func FetchTranscript ¶
func FetchTranscript(videoID, language string, client *http.Client) Transcript
FetchTranscript ...
Click to show internal directories.
Click to hide internal directories.