-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Website name: bilibili
OS:: Windows10
Video URL:: url
Stack overflow
D:\swap\bili>lux -c b -i https://www.bilibili.com/bangumi/play/ep1665563
panic: runtime error: index out of range [1] with length 0
goroutine 1 [running]:
github.com/iawia002/lux/extractors/bilibili.extractBangumi({0xc000038390, 0x2f}, {0xc000f04000, 0x2f71fa}, {0x0, {0x0, 0x0}, 0x1, 0x0, 0x1, ...})
/home/runner/work/lux/lux/extractors/bilibili/bilibili.go:99 +0xf12
github.com/iawia002/lux/extractors/bilibili.(*extractor).Extract(0xf0150f?, {0xc000038390, 0x2f}, {0x0, {0x0, 0x0}, 0x1, 0x0, 0x1, {0x21f98b0, ...}, ...})
/home/runner/work/lux/lux/extractors/bilibili/bilibili.go:362 +0x278
github.com/iawia002/lux/extractors.Extract({0xc000038390?, 0x0?}, {0x0, {0x0, 0x0}, 0x1, 0x0, 0xa, {0x21f98b0, 0x1}, ...})
/home/runner/work/lux/lux/extractors/extractors.go:54 +0x351
github.com/iawia002/lux/app.download(0xc00040ce40, {0xc000038390, 0x2f})
/home/runner/work/lux/lux/app/app.go:275 +0x2e8
github.com/iawia002/lux/app.New.func1(0xc00040ce40)
/home/runner/work/lux/lux/app/app.go:252 +0x691
github.com/urfave/cli/v2.(*App).RunContext(0xc000754340, {0x1b87800, 0x2508560}, {0xc0000e6000, 0x5, 0x8})
/home/runner/go/pkg/mod/github.com/urfave/cli/[email protected]/app.go:322 +0x928
github.com/urfave/cli/v2.(*App).Run(0x70?, {0xc0000e6000?, 0x25b9a98ae28?, 0x10000000010?})
/home/runner/go/pkg/mod/github.com/urfave/cli/[email protected]/app.go:224 +0x2f
main.main()
/home/runner/work/lux/lux/main.go:13 +0x39
D:\swap\bili>lux --version
lux: version 0.24.1, A fast and simple video downloader.
Screenshots
none
Additional context
none
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working