Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

异常错误 #39

Open
SUP-Eric opened this issue Aug 8, 2023 · 0 comments
Open

异常错误 #39

SUP-Eric opened this issue Aug 8, 2023 · 0 comments
Labels
Bug Something isn't working

Comments

@SUP-Eric
Copy link

SUP-Eric commented Aug 8, 2023

panic: runtime error: slice bounds out of range [-1:]

goroutine 1 [running]:
github.com/yliu7949/KouShare-dl/live.(*Live).getNewTsURLBym3u8(0xc0000e86c0)
github.com/yliu7949/KouShare-dl/live/live.go:276 +0x13e
github.com/yliu7949/KouShare-dl/live.(*Live).recordLive(0xc0000e86c0, 0x1)
github.com/yliu7949/KouShare-dl/live/live.go:251 +0xee
github.com/yliu7949/KouShare-dl/live.(*Live).WaitAndRecordTheLive(0xc0000e86c0, {0x0?, 0x0?}, 0xcb?)
github.com/yliu7949/KouShare-dl/live/live.go:143 +0xbbd
github.com/yliu7949/KouShare-dl/cmd/ks.RecordCmd.func1(0xc000004f00?, {0xc000112180?, 0x2?, 0x2?})
github.com/yliu7949/KouShare-dl/cmd/ks/commands.go:123 +0x172
github.com/spf13/cobra.(*Command).execute(0xc000004f00, {0xc000112160, 0x2, 0x2})
github.com/spf13/cobra@v1.7.0/command.go:944 +0x847
github.com/spf13/cobra.(*Command).ExecuteC(0xc000004300)
github.com/spf13/cobra@v1.7.0/command.go:1068 +0x3bd
github.com/spf13/cobra.(*Command).Execute(...)
github.com/spf13/cobra@v1.7.0/command.go:992
main.main()
./ks.go:34 +0x334

@yliu7949 yliu7949 added the Bug Something isn't working label Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants