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

请问怎么样修改aria2地址 #2

Open
zhouxiangbin opened this issue Nov 4, 2022 · 1 comment
Open

请问怎么样修改aria2地址 #2

zhouxiangbin opened this issue Nov 4, 2022 · 1 comment

Comments

@zhouxiangbin
Copy link

在pornhub.py文件中第10行找到了,定义aria2设置代码,但是不知道如何将它地址定义为 192.168.10.1

我设置为以下参数不生效:
rpc = pyaria2.Aria2RPC('http://192.168.10.1:6800/rpc') # aria2rpc设置,默认6800端口,没密钥

此程序运行在docker容器中

@laoweilove
Copy link
Owner

在pornhub.py文件中第10行找到了,定义aria2设置代码,但是不知道如何将它地址定义为 192.168.10.1

我设置为以下参数不生效: rpc = pyaria2.Aria2RPC('http://192.168.10.1:6800/rpc') # aria2rpc设置,默认6800端口,没密钥

此程序运行在docker容器中
rpc = pyaria2.Aria2RPC(url='http://192.168.10.1:6800/rpc',token=None)
这样应该就可以

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

2 participants