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]: 油管不能下载 #1359

Open
naikaya opened this issue May 15, 2024 · 5 comments
Open

[download fail]: 油管不能下载 #1359

naikaya opened this issue May 15, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@naikaya
Copy link

naikaya commented May 15, 2024

https://www.youtube.com

**OS:Windows 10 企业版 22H2

https://www.youtube.com/watch?v=9Rs_UHkDAsQ&list=WL&index=1

e:\viedoload>lux -i "https://www.youtube.com/watch?v=phuiiNCxRMg"
Downloading https://www.youtube.com/watch?v=phuiiNCxRMg error:
Get "https://youtube.com/embed/phuiiNCxRMg?hl=en": dial tcp [2a03:2880:f12c: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: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/[email protected]/app.go:322
github.com/urfave/cli/v2.(*App).Run
        /home/runner/go/pkg/mod/github.com/urfave/cli/[email protected]/app.go:224
main.main
        /home/runner/work/lux/lux/main.go:13
runtime.main
        /opt/hostedtoolcache/go/1.21.9/x64/src/runtime/proc.go:267
runtime.goexit
        /opt/hostedtoolcache/go/1.21.9/x64/src/runtime/asm_amd64.s:1650
github.com/iawia002/lux/extractors.Extract
        /home/runner/work/lux/lux/extractors/extractors.go:56
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/[email protected]/app.go:322
github.com/urfave/cli/v2.(*App).Run
        /home/runner/go/pkg/mod/github.com/urfave/cli/[email protected]/app.go:224
main.main
        /home/runner/work/lux/lux/main.go:13
runtime.main
        /opt/hostedtoolcache/go/1.21.9/x64/src/runtime/proc.go:267
runtime.goexit
        /opt/hostedtoolcache/go/1.21.9/x64/src/runtime/asm_amd64.s:1650

image

none

Additional context

none

@naikaya naikaya added the bug Something isn't working label May 15, 2024
@initLiu
Copy link

initLiu commented Jul 27, 2024

我也遇到了相同的问题

@xueke8
Copy link

xueke8 commented Jul 31, 2024

需要开启VPN,并且设置代理,设置代理的方法是:

  • 添加环境变量

    HTTPS_PROXY="http://127.0.0.1:10080"

@alone-dancer
Copy link

需要开启VPN,并且设置代理,设置代理的方法是:

  • 添加环境变量
    HTTPS_PROXY="http://127.0.0.1:10080"

@xueke8 你好,是在系统里添加环境变量吗?我开启了VPN、并在系统里添加了环境变量,依然出现此错误,需要在执行命令的时候写上代理吗?

@xueke8
Copy link

xueke8 commented Aug 7, 2024

需要开启VPN,并且设置代理,设置代理的方法是:

  • 添加环境变量
    HTTPS_PROXY="http://127.0.0.1:10080"

@xueke8 你好,是在系统里添加环境变量吗?我开启了VPN、并在系统里添加了环境变量,依然出现此错误,需要在执行命令的时候写上代理吗?

@alone-dancer windows在系统设置中添加,linux使用命令export即可
我电脑上是定义https_proxy变量名,然后变量值指定http协议就可以了,变量值如果是https反倒不行

@alone-dancer
Copy link

非常感谢!
代理通了,不过又出现了另一个错误:“Sign in to confirm you’re not a bot. This helps pro...”
唉,得想其他的招了

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

4 participants