Documentation ¶
Index ¶
- func ExtractEpisodeNumber(episodeStr string) string
- func GetVideoURLForEpisode(episodeURL string) (string, error)
- func HandleDownloadAndPlay(videoURL string, episodes []api.Episode, selectedEpisodeNum int, ...)
- func SelectEpisodeWithFuzzyFinder(episodes []api.Episode) (string, string, error)
- type VideoData
- type VideoResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractEpisodeNumber ¶
ExtractEpisodeNumber extracts the episode number from the episode string
func GetVideoURLForEpisode ¶
GetVideoURLForEpisode extracts the actual video URL from the video source URL
Types ¶
type VideoResponse ¶
type VideoResponse struct {
Data []VideoData `json:"data"`
}
VideoResponse represents the video response structure with a slice of VideoData
Click to show internal directories.
Click to hide internal directories.