DD_Monitor icon indicating copy to clipboard operation
DD_Monitor copied to clipboard

能否在应用里添加代理设置

Open X-Jackdaw opened this issue 3 years ago • 4 comments

我使用clash作为代理工具,在开启代理,模式为rules的情况下,无法获取直播间信息,只有当关闭代理的时候才能正确运行

希望能在应用中手动管理代理设置

X-Jackdaw avatar Mar 17 '21 06:03 X-Jackdaw

附议,我也发现了这个问题

halozhy avatar Feb 26 '22 15:02 halozhy

附议,Clash 开启系统代理后,无论是直连模式还是规则模式均无法打开直播间。 但是若关闭 Clash 系统代理,在软件中打开直播间,再打开代理不会影响已开启的直播间正常播放。 且 Clash 中 Connections 页面未发现本软件的连接,故而也无法手动修改代理规则。

PaperL avatar Mar 12 '22 14:03 PaperL

在使用 Clash for Windows 的情况下在设置中将 System Proxy 中的 Type 选项修改为 PAC 即可正常使用。

KarlLee830 avatar Apr 22 '23 14:04 KarlLee830

麻烦修一下代理,界面如下

  • [ ] 开启代理 http代理: [ ] https代理: [ ]
# 创建请求session, 无代理
session = requests.Session()
session.proxies = {'http': '', 'https': ''}

# 直接post请求, 无代理
requests.post({
    url='https://example.com',
    headers={},
    data={},
    proxies={'http': '', 'https': ''}
})

Dale4778Nelson avatar Sep 30 '23 14:09 Dale4778Nelson