youtubedl

package
v0.0.0-...-355d09a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VideoInfo

type VideoInfo struct {
	Season      int
	Episode     int
	Title       string
	Description string
	Rating      float64
	UploadDate  string
	Filename    string
}

VideoInfo represents a video file and its youtube-dl metadata.

func DownloadURL

func DownloadURL(url string, season, episode int) (*VideoInfo, error)

DownloadURL will use youtube-dl to download a video and store it with the filename with the prefix "S{season}E{episode}.{youtube-dl filaname}.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL