iawia002 / lux

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

[download fail]: youku.com #1118

Open tbbbbbz opened 2 years ago

tbbbbbz commented 2 years ago

Website name: youku.com

OS:: macOS

Video URL:: https://v.youku.com/v_show/id_XNDMyNDUxNDE2

Stack overflow

error message here

$ lux "https://v.youku.com/v_show/id_XNDMyNDUxNDE2"

Downloading https://v.youku.com/v_show/id_XNDMyNDUxNDE2 error:
客户端无权播放,201
github.com/iawia002/lux/extractors/youku.(*extractor).Extract
    github.com/iawia002/lux/extractors/youku/youku.go:234
github.com/iawia002/lux/extractors.Extract
    github.com/iawia002/lux/extractors/extractors.go:52
github.com/iawia002/lux/app.download
    github.com/iawia002/lux/app/app.go:271
github.com/iawia002/lux/app.New.func1
    github.com/iawia002/lux/app/app.go:248
github.com/urfave/cli/v2.(*App).RunContext
    github.com/urfave/cli/v2@v2.3.0/app.go:322
github.com/urfave/cli/v2.(*App).Run
    github.com/urfave/cli/v2@v2.3.0/app.go:224
main.main
    github.com/iawia002/lux/main.go:13
runtime.main
    runtime/proc.go:250
runtime.goexit
    runtime/asm_amd64.s:1571
github.com/iawia002/lux/extractors.Extract
    github.com/iawia002/lux/extractors/extractors.go:54
github.com/iawia002/lux/app.download
    github.com/iawia002/lux/app/app.go:271
github.com/iawia002/lux/app.New.func1
    github.com/iawia002/lux/app/app.go:248
github.com/urfave/cli/v2.(*App).RunContext
    github.com/urfave/cli/v2@v2.3.0/app.go:322
github.com/urfave/cli/v2.(*App).Run
    github.com/urfave/cli/v2@v2.3.0/app.go:224
main.main
    github.com/iawia002/lux/main.go:13
runtime.main
    runtime/proc.go:250
runtime.goexit
    runtime/asm_amd64.s:1571

Screenshots

none

Additional context

I tried other urls from youku.com, they didn't work either with similar error outputs.

tvtroid commented 2 years ago

same issue

nanofgm commented 2 years ago

PS C:\Users\Administrator> lux -i "https://v.youku.com/v_show/id_XNDgyMjY4NjI3Ng==.html?spm=a2h1n.8261147.reload_1.1~3~5~A&s=ffca77f063ab4f01a4fa" Downloading https://v.youku.com/v_show/id_XNDgyMjY4NjI3Ng==.html?spm=a2h1n.8261147.reload_1.1~3~5~A&s=ffca77f063ab4f01a4fa error: ccode参数错误 github.com/iawia002/lux/extractors/youku.(extractor).Extract /Users/iawia002/go/src/github.com/iawia002/lux/extractors/youku/youku.go:234 github.com/iawia002/lux/extractors.Extract /Users/iawia002/go/src/github.com/iawia002/lux/extractors/extractors.go:52 github.com/iawia002/lux/app.download /Users/iawia002/go/src/github.com/iawia002/lux/app/app.go:271 github.com/iawia002/lux/app.New.func1 /Users/iawia002/go/src/github.com/iawia002/lux/app/app.go:248 github.com/urfave/cli/v2.(App).RunContext /Users/iawia002/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/app.go:322 github.com/urfave/cli/v2.(App).Run /Users/iawia002/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/app.go:224 main.main /Users/iawia002/go/src/github.com/iawia002/lux/main.go:13 runtime.main /usr/local/Cellar/go/1.18.1/libexec/src/runtime/proc.go:250 runtime.goexit /usr/local/Cellar/go/1.18.1/libexec/src/runtime/asm_amd64.s:1571 github.com/iawia002/lux/extractors.Extract /Users/iawia002/go/src/github.com/iawia002/lux/extractors/extractors.go:54 github.com/iawia002/lux/app.download /Users/iawia002/go/src/github.com/iawia002/lux/app/app.go:271 github.com/iawia002/lux/app.New.func1 /Users/iawia002/go/src/github.com/iawia002/lux/app/app.go:248 github.com/urfave/cli/v2.(App).RunContext /Users/iawia002/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/app.go:322 github.com/urfave/cli/v2.(*App).Run /Users/iawia002/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/app.go:224 main.main /Users/iawia002/go/src/github.com/iawia002/lux/main.go:13 runtime.main /usr/local/Cellar/go/1.18.1/libexec/src/runtime/proc.go:250 runtime.goexit /usr/local/Cellar/go/1.18.1/libexec/src/runtime/asm_amd64.s:1571 PS C:\Users\Administrator>

同样的错误,求助。

arielherself commented 2 years ago

PS C:\Users\Administrator> lux -i "https://v.youku.com/v_show/id_XNDgyMjY4NjI3Ng==.html?spm=a2h1n.8261147.reload_1.1~3~5~A&s=ffca77f063ab4f01a4fa" Downloading https://v.youku.com/v_show/id_XNDgyMjY4NjI3Ng==.html?spm=a2h1n.8261147.reload_1.1~3~5~A&s=ffca77f063ab4f01a4fa error: ccode参数错误 github.com/iawia002/lux/extractors/youku.(extractor).Extract /Users/iawia002/go/src/github.com/iawia002/lux/extractors/youku/youku.go:234 github.com/iawia002/lux/extractors.Extract /Users/iawia002/go/src/github.com/iawia002/lux/extractors/extractors.go:52 github.com/iawia002/lux/app.download /Users/iawia002/go/src/github.com/iawia002/lux/app/app.go:271 github.com/iawia002/lux/app.New.func1 /Users/iawia002/go/src/github.com/iawia002/lux/app/app.go:248 github.com/urfave/cli/v2.(App).RunContext /Users/iawia002/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/app.go:322 github.com/urfave/cli/v2.(App).Run /Users/iawia002/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/app.go:224 main.main /Users/iawia002/go/src/github.com/iawia002/lux/main.go:13 runtime.main /usr/local/Cellar/go/1.18.1/libexec/src/runtime/proc.go:250 runtime.goexit /usr/local/Cellar/go/1.18.1/libexec/src/runtime/asm_amd64.s:1571 github.com/iawia002/lux/extractors.Extract /Users/iawia002/go/src/github.com/iawia002/lux/extractors/extractors.go:54 github.com/iawia002/lux/app.download /Users/iawia002/go/src/github.com/iawia002/lux/app/app.go:271 github.com/iawia002/lux/app.New.func1 /Users/iawia002/go/src/github.com/iawia002/lux/app/app.go:248 github.com/urfave/cli/v2.(App).RunContext /Users/iawia002/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/app.go:322 github.com/urfave/cli/v2.(*App).Run /Users/iawia002/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/app.go:224 main.main /Users/iawia002/go/src/github.com/iawia002/lux/main.go:13 runtime.main /usr/local/Cellar/go/1.18.1/libexec/src/runtime/proc.go:250 runtime.goexit /usr/local/Cellar/go/1.18.1/libexec/src/runtime/asm_amd64.s:1571 PS C:\Users\Administrator>

同样的错误,求助。

Your problem is that the built-in ccode has expired(0502 currently), which is not consistent with @tbbbbbz 's problem.

nanofgm commented 2 years ago

Think You for your help! When I use 0502 as new ccode,case the same problem as tbbbbbz's.

OS: Win10

PS C:\Users\Administrator> lux -ccode 0502 -c C:\youkucookies.txt -o C:\Users\Administrator\Desktop\DownloadTemp 'https://v.youku.com/v_show/id_XNDgyMjY4NjI3Ng==.html?spm=a2h1n.8261147.reload_1.1~3~5~A&s=ffca77f063ab4f01a4fa' Downloading https://v.youku.com/v_show/id_XNDgyMjY4NjI3Ng==.html?spm=a2h1n.8261147.reload_1.1~3~5~A&s=ffca77f063ab4f01a4fa error: 客户端无权播放,201 github.com/iawia002/lux/extractors/youku.(extractor).Extract /Users/iawia002/go/src/github.com/iawia002/lux/extractors/youku/youku.go:234 github.com/iawia002/lux/extractors.Extract /Users/iawia002/go/src/github.com/iawia002/lux/extractors/extractors.go:52 github.com/iawia002/lux/app.download /Users/iawia002/go/src/github.com/iawia002/lux/app/app.go:271 github.com/iawia002/lux/app.New.func1 /Users/iawia002/go/src/github.com/iawia002/lux/app/app.go:248 github.com/urfave/cli/v2.(App).RunContext /Users/iawia002/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/app.go:322 github.com/urfave/cli/v2.(App).Run /Users/iawia002/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/app.go:224 main.main /Users/iawia002/go/src/github.com/iawia002/lux/main.go:13 runtime.main /usr/local/Cellar/go/1.18.1/libexec/src/runtime/proc.go:250 runtime.goexit /usr/local/Cellar/go/1.18.1/libexec/src/runtime/asm_amd64.s:1571 github.com/iawia002/lux/extractors.Extract /Users/iawia002/go/src/github.com/iawia002/lux/extractors/extractors.go:54 github.com/iawia002/lux/app.download /Users/iawia002/go/src/github.com/iawia002/lux/app/app.go:271 github.com/iawia002/lux/app.New.func1 /Users/iawia002/go/src/github.com/iawia002/lux/app/app.go:248 github.com/urfave/cli/v2.(App).RunContext /Users/iawia002/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/app.go:322 github.com/urfave/cli/v2.(*App).Run /Users/iawia002/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/app.go:224 main.main /Users/iawia002/go/src/github.com/iawia002/lux/main.go:13 runtime.main /usr/local/Cellar/go/1.18.1/libexec/src/runtime/proc.go:250 runtime.goexit /usr/local/Cellar/go/1.18.1/libexec/src/runtime/asm_amd64.s:1571