Documentation ¶
Index ¶
- func DecryptSignature(args YoutubeConfigArgs, signature string) (string, error)
- func ExtractJSHelperObject(args YoutubeConfigArgs, sigBody string) string
- func ExtractJSSignatureFunc(args YoutubeConfigArgs) string
- func Youtube(link string, errorChan chan error) <-chan []Link
- type Link
- type MediaFormat
- type MediaType
- type Result
- type YoutubeConfigArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptSignature ¶
func DecryptSignature(args YoutubeConfigArgs, signature string) (string, error)
func ExtractJSHelperObject ¶
func ExtractJSHelperObject(args YoutubeConfigArgs, sigBody string) string
func ExtractJSSignatureFunc ¶
func ExtractJSSignatureFunc(args YoutubeConfigArgs) string
Types ¶
type Link ¶
type Link struct { URL string Type MediaType Signature string Quality string Format MediaFormat }
func GetLinks ¶
func GetLinks(args YoutubeConfigArgs) ([]Link, error)
type MediaFormat ¶
type YoutubeConfigArgs ¶
type YoutubeConfigArgs struct { VideoID string VideoFormats string VideoAdaptFormats string VideoManifestURL string PlayerSource string }
func GetYoutubeConfigArgs ¶
func GetYoutubeConfigArgs(link string) (YoutubeConfigArgs, error)
Click to show internal directories.
Click to hide internal directories.