Files
metatube-server/common/m3u8/m3u8_test.go
T
2022-12-15 23:13:04 +08:00

15 lines
305 B
Go

package m3u8
import (
"testing"
"github.com/javtube/metatube-sdk-go/common/fetch"
)
func TestParseBestMediaURI(t *testing.T) {
url := "https://ppvclips02.aventertainments.com/01m3u8/mmdv-120/mmdv-120.m3u8"
resp, _ := fetch.Fetch(url)
defer resp.Body.Close()
t.Log(ParseBestMediaURI(resp.Body))
}