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

Key: 'Options.NS' Error:Field validation for 'NS' failed on the 'required' tag #22

Closed
wdd49849 opened this issue Sep 17, 2022 · 10 comments

Comments

@wdd49849
Copy link

@iyear
Copy link
Owner

iyear commented Sep 17, 2022

Namespace is also known as -n to distinguish between different accounts, and any command needs to be preceded by an indication of what the namespace is. Please see the full example in usage

@iyear iyear closed this as completed Sep 17, 2022
@wdd49849
Copy link
Author

Is there a tutorial video? I am very poor in English

@iyear
Copy link
Owner

iyear commented Sep 17, 2022

-n 用来区分账号,所有的操作都需要指定一个账号来使用 @wdd49849

@wdd49849
Copy link
Author

.\tdl login -n fengyu00-desktop C:\Users\admin\AppData\Roaming\Telegram Desktop\Telegram.exe

@wdd49849
Copy link
Author

WARN: If data exists in the namespace, data will be overwritten 哥,没反应 是哪里错了

@2689380792
Copy link

工作路径不能含有中文,否则就会出现Key: 'Options.NS' Error:Field validation for 'NS' failed on the 'required' tag

@2689380792
Copy link

.\tdl login -n fengyu00-desktop C:\Users\admin\AppData\Roaming\Telegram Desktop\Telegram.exe

正确格式
//创建Namespace
tdl -n name

//拿到桌面端tdata文件夹中的数据绑定到Namespace(相当于登录了)
tdl login -n name -d "D:\Telegram Desktop\tdata"

@2689380792
Copy link

WARN: If data exists in the namespace, data will be overwritten 哥,没反应 是哪里错了

网络无响应,要加上代理(端口为梯子软件里设置的端口)
tdl dl -n name -u xxx --proxy socks5://localhost:xxxx

@free-angel
Copy link

加上代理即可解决 --proxy socks5://localhost:你的梯子端口

@adyyddzl
Copy link

加上代理即可解决 --proxy socks5://localhost:你的梯子端口

加了没用怎么回事啊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants