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]: 斗鱼 douyu 虎牙 huya #1325

Open
MC-dusk opened this issue Mar 23, 2024 · 0 comments
Open

[download fail]: 斗鱼 douyu 虎牙 huya #1325

MC-dusk opened this issue Mar 23, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@MC-dusk
Copy link

MC-dusk commented Mar 23, 2024

Website name: 斗鱼 douyu 虎牙 huya

OS:: Windows11

Video URL:: https://v.douyu.com/show/ERALvE8Z50bW1Vw0 https://www.huya.com/video/play/959283760.html

Stack overflow

Downloading https://v.douyu.com/show/ERALvE8Z50bW1Vw0 error:
json: cannot unmarshal string into Go struct field douyuData.data of type struct { VideoURL string "json:\"video_url\"" }
github.com/iawia002/lux/extractors/douyu.(*extractor).Extract
        /home/runner/work/lux/lux/extractors/douyu/douyu.go:92
github.com/iawia002/lux/extractors.Extract
        /home/runner/work/lux/lux/extractors/extractors.go:52
github.com/iawia002/lux/app.download
        /home/runner/work/lux/lux/app/app.go:275
github.com/iawia002/lux/app.New.func1
        /home/runner/work/lux/lux/app/app.go:252
github.com/urfave/cli/v2.(*App).RunContext
        /home/runner/go/pkg/mod/github.com/urfave/cli/v2@v2.6.0/app.go:322
github.com/urfave/cli/v2.(*App).Run
        /home/runner/go/pkg/mod/github.com/urfave/cli/v2@v2.6.0/app.go:224
main.main
        /home/runner/work/lux/lux/main.go:13
runtime.main
        /opt/hostedtoolcache/go/1.21.7/x64/src/runtime/proc.go:267
runtime.goexit
        /opt/hostedtoolcache/go/1.21.7/x64/src/runtime/asm_amd64.s:1650
github.com/iawia002/lux/extractors.Extract
        /home/runner/work/lux/lux/extractors/extractors.go:54
github.com/iawia002/lux/app.download
        /home/runner/work/lux/lux/app/app.go:275
github.com/iawia002/lux/app.New.func1
        /home/runner/work/lux/lux/app/app.go:252
github.com/urfave/cli/v2.(*App).RunContext
        /home/runner/go/pkg/mod/github.com/urfave/cli/v2@v2.6.0/app.go:322
github.com/urfave/cli/v2.(*App).Run
        /home/runner/go/pkg/mod/github.com/urfave/cli/v2@v2.6.0/app.go:224
main.main
        /home/runner/work/lux/lux/main.go:13
runtime.main
        /opt/hostedtoolcache/go/1.21.7/x64/src/runtime/proc.go:267
runtime.goexit
        /opt/hostedtoolcache/go/1.21.7/x64/src/runtime/asm_amd64.s:1650
Downloading https://www.huya.com/video/play/959283760.html error:
url parse failed
github.com/iawia002/lux/extractors/huya.(*extractor).Extract
        /home/runner/work/lux/lux/extractors/huya/huya.go:43
github.com/iawia002/lux/extractors.Extract
        /home/runner/work/lux/lux/extractors/extractors.go:52
github.com/iawia002/lux/app.download
        /home/runner/work/lux/lux/app/app.go:275
github.com/iawia002/lux/app.New.func1
        /home/runner/work/lux/lux/app/app.go:252
github.com/urfave/cli/v2.(*App).RunContext
        /home/runner/go/pkg/mod/github.com/urfave/cli/v2@v2.6.0/app.go:322
github.com/urfave/cli/v2.(*App).Run
        /home/runner/go/pkg/mod/github.com/urfave/cli/v2@v2.6.0/app.go:224
main.main
        /home/runner/work/lux/lux/main.go:13
runtime.main
        /opt/hostedtoolcache/go/1.21.7/x64/src/runtime/proc.go:267
runtime.goexit
        /opt/hostedtoolcache/go/1.21.7/x64/src/runtime/asm_amd64.s:1650
github.com/iawia002/lux/extractors.Extract
        /home/runner/work/lux/lux/extractors/extractors.go:54
github.com/iawia002/lux/app.download
        /home/runner/work/lux/lux/app/app.go:275
github.com/iawia002/lux/app.New.func1
        /home/runner/work/lux/lux/app/app.go:252
github.com/urfave/cli/v2.(*App).RunContext
        /home/runner/go/pkg/mod/github.com/urfave/cli/v2@v2.6.0/app.go:322
github.com/urfave/cli/v2.(*App).Run
        /home/runner/go/pkg/mod/github.com/urfave/cli/v2@v2.6.0/app.go:224
main.main
        /home/runner/work/lux/lux/main.go:13
runtime.main
        /opt/hostedtoolcache/go/1.21.7/x64/src/runtime/proc.go:267
runtime.goexit
        /opt/hostedtoolcache/go/1.21.7/x64/src/runtime/asm_amd64.s:1650

Screenshots

none

Additional context

#897 #637
#1260 #1136

@MC-dusk MC-dusk added the bug Something isn't working label Mar 23, 2024
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

1 participant