dndmusicbot/youtube/youtube_test.go

19 lines
245 B
Go
Raw Normal View History

package youtube
import (
"fmt"
"log"
"testing"
)
func TestNew(t *testing.T) {
client := New()
video, err := client.GetVideoFromID("LHsGz91Ivwg")
if err != nil {
log.Println(err)
return
}
fmt.Println(video.GetHLSPlaylist("234"))
}