iawia002 / lux

👾 Fast and simple video download library and CLI tool written in Go
MIT License
27.79k stars 3k forks source link

[download fail]: youku news queen #1296

Open ashuai opened 11 months ago

ashuai commented 11 months ago

Website name: youku

OS:: Windows11

Video URL:: https://v.youku.com/v_show/id_XNjEyNzIxMDQ5Mg==.html

Stack overflow

lux -c youku -i https://v.youku.com/v_show/id_XNjEyNzIxMDQ5Mg==.html
Downloading https://v.youku.com/v_show/id_XNjEyNzIxMDQ5Mg==.html error:
url parse failed
github.com/iawia002/lux/extractors/youku.youkuUps
        /home/runner/work/lux/lux/extractors/youku/youku.go:103
github.com/iawia002/lux/extractors/youku.(*extractor).Extract
        /home/runner/work/lux/lux/extractors/youku/youku.go:228
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:270
github.com/iawia002/lux/app.New.func1
        /home/runner/work/lux/lux/app/app.go:247
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.3/x64/src/runtime/proc.go:267
runtime.goexit
        /opt/hostedtoolcache/go/1.21.3/x64/src/runtime/asm_amd64.s:1650
github.com/iawia002/lux/extractors/youku.(*extractor).Extract
        /home/runner/work/lux/lux/extractors/youku/youku.go:230
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:270
github.com/iawia002/lux/app.New.func1
        /home/runner/work/lux/lux/app/app.go:247
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.3/x64/src/runtime/proc.go:267
runtime.goexit
        /opt/hostedtoolcache/go/1.21.3/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:270
github.com/iawia002/lux/app.New.func1
        /home/runner/work/lux/lux/app/app.go:247
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.3/x64/src/runtime/proc.go:267
runtime.goexit
        /opt/hostedtoolcache/go/1.21.3/x64/src/runtime/asm_amd64.s:1650

Screenshots

none

Additional context

-c已导入所有cookie

zz1985summer commented 11 months ago

遇到同样的问题url parse failed ,优酷

AngryDisk commented 1 month ago

看了下代码,好像是youku网站有变化,导致报错了。