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

[download fail]: bilibili bangumi #1363

Open
Aric-Sun opened this issue Jun 8, 2024 · 1 comment
Open

[download fail]: bilibili bangumi #1363

Aric-Sun opened this issue Jun 8, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Aric-Sun
Copy link

Aric-Sun commented Jun 8, 2024

Website name: bilibili

OS:: Windows

Video URL:: https://www.bilibili.com/bangumi/play/ep785544

Stack overflow

C:\Users\xxx>"C:\Program Files\Lux\lux.exe" -c "C:\Program Files\Lux\blck.txt" -o C:\Downloads https://www.bilibili.com/bangumi/play/ep785544
panic: runtime error: index out of range [1] with length 0

goroutine 1 [running]:
github.com/iawia002/lux/extractors/bilibili.extractBangumi({0xc0001b0060, 0x2e}, {0xc0005be000, 0x28800}, {0x0, {0x0, 0x0}, 0x1, 0x0, 0x1, ...})
        /home/runner/work/lux/lux/extractors/bilibili/bilibili.go:99 +0xf32
github.com/iawia002/lux/extractors/bilibili.(*extractor).Extract(0x1c400c0?, {0xc0001b0060, 0x2e}, {0x0, {0x0, 0x0}, 0x1, 0x0, 0x1, {0xc0001b0030, ...}, ...})
        /home/runner/work/lux/lux/extractors/bilibili/bilibili.go:362 +0x278
github.com/iawia002/lux/extractors.Extract({0xc0001b0060?, 0x0?}, {0x0, {0x0, 0x0}, 0x1, 0x0, 0xa, {0xc0001b0030, 0x26}, ...})
        /home/runner/work/lux/lux/extractors/extractors.go:54 +0x351
github.com/iawia002/lux/app.download(0xc0002b0700?, {0xc0001b0060, 0x2e})
        /home/runner/work/lux/lux/app/app.go:275 +0x2e8
github.com/iawia002/lux/app.New.func1(0xc000514440)
        /home/runner/work/lux/lux/app/app.go:252 +0x67e
github.com/urfave/cli/v2.(*App).RunContext(0xc0001b4680, {0x13513a0?, 0x1c7de60}, {0xc0001bc000, 0x6, 0x8})
        /home/runner/go/pkg/mod/github.com/urfave/cli/[email protected]/app.go:322 +0x8f0
github.com/urfave/cli/v2.(*App).Run(0xc000075ef0?, {0xc0001bc000?, 0x1b7d8a10108?, 0x1000000010e9111?})
        /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

Screenshots

none

Additional context

none

@Aric-Sun Aric-Sun added the bug Something isn't working label Jun 8, 2024
@sycz
Copy link

sycz commented Aug 17, 2024

+1

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