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

自动检测是否使用了代理,让用户可以选择开启/关闭代理 #689

Open
2 tasks
cosven opened this issue May 7, 2023 · 0 comments
Open
2 tasks
Labels
difficulty/easy feat request feature or enhancement request for new contributor 适合新人上手

Comments

@cosven
Copy link
Member

cosven commented May 7, 2023

背景
很多使用 FeelUOwn 的用户都会使用代理,其中又有一部分会开启全局代理,如果代理是在非中国地区,那么访问资源的速度则会很慢,甚至访问失败。 FeelUOwn 可以做两件事情

  • 如果使用了代理,给用户一些提示
  • 给用户一种关闭代理的方法(可选,可能没有必要)

参考资料
检测代理的方法可以参考
https://docs.python.org/3/library/urllib.request.html#urllib.request.getproxies

@cosven cosven added feat request feature or enhancement request for new contributor 适合新人上手 difficulty/easy labels May 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty/easy feat request feature or enhancement request for new contributor 适合新人上手
Projects
None yet
Development

No branches or pull requests

1 participant