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]: youtube #1326

Open
cooloola opened this issue Mar 24, 2024 · 1 comment
Open

[download fail]: youtube #1326

cooloola opened this issue Mar 24, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@cooloola
Copy link

Youtube: name

Windows

Video URL:: url

Stack overflow

error:
Get "https://youtube.com/embed/iOFveSUmh9U?hl=en": dial tcp [2a03:2880:f11b:83:face:b00c:0:25de]:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
github.com/iawia002/lux/extractors/youtube.(*extractor).Extract
        /home/runner/work/lux/lux/extractors/youtube/youtube.go:47
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
使用VPN. 全局代理也不行,在CMD中单独设置proxy set http_proxy=http://127
偶尔情况可以解析,但是速度非常慢,2kb/s左右。

@cooloola cooloola added the bug Something isn't working label Mar 24, 2024
@chrisma2021
Copy link

Encounter the same problem.
Error code:
Downloading https://www.youtube.com/watch?v=zaBRHssDxbk error: Get "https://youtube.com/embed/zaBRHssDxbk?hl=en": dial tcp 31.13.88.26:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. github.com/iawia002/lux/extractors/youtube.(*extractor).Extract /home/runner/work/lux/lux/extractors/youtube/youtube.go:47 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

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