You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getHost的时候应该使用 path.Dir,而不是filepath.Dir, 具体看 go/src/path/filepath/path.go:9 的注释
//To process paths such as URLs
// that always use forward slashes regardless of the operating
// system, see the path package.
//To process paths such as URLs
// that always use forward slashes regardless of the operating
// system, see the path package.
\
) 状态,拼接回去并且url上存在端口时就让url无法被解析, 例子: https://go.dev/play/p/g1q3Db72YedUrl: fmt.Sprintf("%s/%s", host, line)
, 获取到的url不对,应该将下载m3u8的url和 m3u8内容里面的行都解析成url, 然后做一个urlObj.ResolveReference(lineObj).String()
The text was updated successfully, but these errors were encountered: