Registry / utility / kkdai-youtube-v2

kkdai-youtube-v2

JSON →
library2.10.6gogounverified

Package youtube implements a YouTube video downloader in Go.

go get github.com/kkdai/youtube/v2
INSTALL
IMPORT
SIG · KKDAI-YOUTUBE-V2
K
kkdai-youtube-v2
utilitygov2.10.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

youtube
github.com/kkdai/youtube/v2

Minimal example showing how to fetch video metadata from a YouTube URL.

package main import ( "fmt" "github.com/kkdai/youtube/v2" ) func main() { client := youtube.Client{} video, err := client.GetVideo("https://www.youtube.com/watch?v=dQw4w9WgXcQ") if err != nil { panic(err) } fmt.Println("Title:", video.Title) }
Debug
Known issues
gotchaYouTube API changes may break download functionality without notice.
fix
Keep the library updated to the latest version.
affects: all
Upgrade
Version history
2.10.6latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources