从逻辑上看 是没走到 retry(使用 proxyIP) 的部分就超时了
https://github.com/sub-store-org/Sub-Store/issues/324
抄一下 cmliu 佬的话
因为proxyip是反代了443端口的, 所以访问cf的话只能访问https
除非这个proxyip的80端口还反代了cf的80端口
- ❤️2
因为proxyip是反代了443端口的, 所以访问cf的话只能访问https
除非这个proxyip的80端口还反代了cf的80端口
function operator(proxies, targetPlatform, context) {
const SUBS_KEY = 'subs'
const $ = $substore
const { source } = context
if (source._collection) throw new Error('不支持组合订阅, 请在单条订阅中使用此脚本')
// 这个可以自己改一下, 目的是从 proxies 取一个有效的节点出来
// 这里示范的是取一个节点包含 🇭🇰 的节点
const proxy = proxies.find(p => p.name.includes('🇭🇰'))
const subs = $.read(SUBS_KEY).map(sub => {
if(sub.name === proxy._subName) {
sub.proxy = ProxyUtils.produce([proxy], 'Surge')
console.log(`订阅 ${proxy._subDisplayName || proxy._subName} 写入代理/策略 ${sub.proxy}. 刷新后可见`)
}
return sub
})
$.write(subs, SUBS_KEY)
return proxies
}include_unsupported_proxy{
"name": "2025 年节假日",
"start": "2025-01-01",
"end": "2025-12-31",
"note": "自定义模板",
"days": [
{ "date": "2025-01-01", "name": "元旦", "type": 0 },
{ "date": "2025-01-26", "name": "春节调班", "type": 1 },
{ "date": "2025-01-28", "name": "春节(除夕)", "type": 0 },
{ "date": "2025-01-29", "name": "春节(初一)", "type": 0 }
]
}
#cacheKey=xxx (xxx 不要重复, 这是缓存的 key ) 填入 Sub-Store 开启乐观缓存功能 详见 https://t.me/zhetengsha/1417noFlow 不查询流量信息, 反正都焚了...类似这样 #cacheKey=xxx&noFlow#cacheTtl=31536000&headersCacheTtl=31536000 这样缓存为一年 就不会拉取了. 流量查询好像也没啥意义了, 直接设置不查 #cacheTtl=31536000&noFlow
function operator(proxies, targetPlatform, context) {
if ($options) {
$options._res = {
headers: {
'subscription-userinfo': 'upload=97033729524; download=1357806112914; total=1782411427840; expire=; app_url=https%3A%2F%2Fa.com'
}
}
}
return proxies;
}prefer-ipv6 参数需按照 Loon 写法: ip-mode=prefer-ipv6prefer-ipv6 参数需按照 ip-version: ipv6-prefer包含官方/商店版不支持的协议 开关或手动带参数 includeUnsupportedProxy , 若全部是 WireGuard 节点, 可输出为 wireguard://, wg://Shadowrocket 来导出 URI 然后作为输入导入。这样导出的 WireGuard URI 不是标准的 URI
https://translate.google.com/m?sl=zh-tw&tl=zh-cn&hl=zh-cn&q={{proxy.name}}a:<div class="result-container">(.+?)<\/div>{{api.a}},cha_gpt_latency 字段, 指响应延迟disable_failed_cache, 禁用失败缓存. 即不缓存失败结果