mirror of
https://github.com/teacat/chaturbate-dvr.git
synced 2025-10-29 16:59:59 +00:00
wait millis temporary fix nil
This commit is contained in:
parent
f4a7453a3e
commit
6f3e049179
Binary file not shown.
Binary file not shown.
Binary file not shown.
2
main.go
2
main.go
@ -97,6 +97,8 @@ func getHLSSource(body string) (string, string) {
|
||||
func parseHLSSource(url string, baseURL string) string {
|
||||
_, body, _ := gorequest.New().Get(url).End()
|
||||
|
||||
<-time.After(time.Millisecond * 300)
|
||||
|
||||
// Decode the HLS table.
|
||||
p, _, _ := m3u8.DecodeFrom(strings.NewReader(body), true)
|
||||
master := p.(*m3u8.MasterPlaylist)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user