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

[Bug] can not setting proxy #593

Closed
Louis24 opened this issue Apr 24, 2024 · 6 comments
Closed

[Bug] can not setting proxy #593

Louis24 opened this issue Apr 24, 2024 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@Louis24
Copy link

Louis24 commented Apr 24, 2024

Describe the bug

image

To Reproduce

tdl --proxy https://127.0.0.1:7890

Expected behavior

proxy

Version

Version: 0.17.0
Commit: 95120c0
Date: 2024-04-21T14:07:16Z

go1.21.9 windows/amd64

Which OS are you running tdl on?

Windows

Additional context

No response

@Louis24 Louis24 added the bug Something isn't working label Apr 24, 2024
@XMLHexagram
Copy link
Contributor

XMLHexagram commented Apr 24, 2024

duplicate #541

You miss understanding the doc.

@zanzhz1101
Copy link

zanzhz1101 commented Apr 24, 2024

the right download option is like to be:
tdl dl -f "E:\tdl\1c.json" -t 8 -s 524288 -l 4 --rewrite-ext --skip-same -d "E:\lc2" --proxy socks5://abc:[email protected]:10999 --template "{{ .FileName }}"

@qazgp
Copy link

qazgp commented Apr 26, 2024

我也是,没看懂怎么设置代理

@qazgp
Copy link

qazgp commented Apr 26, 2024

好像明白了,我用的clash,设置7890端口的话会报错,设置成了1080,用http代理可以下载了

@Louis24
Copy link
Author

Louis24 commented Apr 26, 2024

好像明白了,我用的clash,设置7890端口的话会报错,设置成了1080,用http代理可以下载了

但是我是全局呀 任何应用都走代理 按理说应该不用写这句 我ping google就通了

@iyear
Copy link
Owner

iyear commented Apr 29, 2024

@Louis24 全局并不会让所有应用走代理,ping google能通是因为终端默认使用了 HTTP_PROXY 环境变量。如果需要从网卡层面让所用应用走代理,请开启TUN模式

@iyear iyear closed this as completed Apr 29, 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

5 participants