MetaCubeX / mihomo

A simple Python Pydantic model for Honkai: Star Rail parsed data from the Mihomo API.
https://wiki.metacubex.one
MIT License
16.23k stars 2.62k forks source link

[Feature] 让select策略组也可以单独指定测速 #568

Open Noctiro opened 1 year ago

Noctiro commented 1 year ago

Verify steps

Description

select策略组也可以单独指定url来进行测速, 但是和url-test不同的是可以手动选择使用哪个代理

也就是说 这时候的测速结果只是给用户作为参考

Possible Solution

No response

Noctiro commented 1 year ago

啊?为什么移动到yacd的仓库?我是希望能够类似于这样的配置

proxy-groups:
  - {name: Google, <<: *all, type: select, url: "https://www.google.com/generate_204" }
  - {name: Youtube, <<: *all, type: select, url: "https://www.youtube.com/generate_204" }
  - {name: Apple, <<: *all, type: select, url: "https://www.apple.com/library/test/success.html" }

之所以这样,是因为 访问这个服务最快的节点 对于另外一个服务来说并不一定是最快的

ghost commented 1 year ago

经提醒,得知 https://github.com/MetaCubeX/Clash.Meta/commit/3ef81afc76eac7ce0e7489722b61f9fdea12c170 已实现各策略组指定不同的测试 URL 。 希望 ObcbO 的这个建议也能实现,让 select 策略组也可以单独指定测速。辛苦了。


额,又被告知 https://github.com/MetaCubeX/Clash.Meta/commit/2c09ce44f6a439524fcc97a66ea24dd92a17d3cb 之后的内核版本配合 https://github.com/MetaCubeX/Yacd-meta/commit/17d7282b963a0665c2b2885e2a5663014b246de3 之后的 yacd meta 面板,基本上可以把 urltest 当 select 用了......先不提只有yacd和换面板的问题,那是否还需要改tolerance保证节点不会再被切走?如果选择的节点测试失败但是实际可用呢?