We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: