Documentation
¶
Index ¶
- type Service
- func (Service) DownloadVideo(ctx context.Context, videoRef models.VideoRef, options models.DownloadOptions, ...) (outputFilename string, err error)
- func (Service) GetVideoMetadata(ctx context.Context, videoRef models.VideoRef) (*models.Video, error)
- func (s Service) GetVideoURL(videoRef models.VideoRef) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct{}
func NewService ¶
func NewService() Service
func (Service) DownloadVideo ¶
func (Service) DownloadVideo(ctx context.Context, videoRef models.VideoRef, options models.DownloadOptions, logline func(line models.LogMessage)) (outputFilename string, err error)
BuildDownloadTask returns a new task that will download the video.
Click to show internal directories.
Click to hide internal directories.