Skip to content

Commit f60d543

Browse files
adaexclaude
andcommitted
feat: 所有分类都进行 TCP 连通性测试
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 818b4e3 commit f60d543

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/check.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,14 +279,14 @@ async function main() {
279279
{ name: '精选', file: 'curated-raw.yaml' },
280280
];
281281

282-
console.log(`\nTCP 连通性测试 + 精选 Top 筛选\n`);
282+
console.log(`\nTCP 连通性测试\n`);
283283

284284
for (const cat of categories) {
285285
const filePath = path.join(DATA_DIR, cat.file);
286286
let proxies = readYaml<{ proxies: Proxy[] }>(filePath).proxies;
287287
console.log(`${cat.name}节点 (${proxies.length}):`);
288+
proxies = await tcpFilter(proxies);
288289
if (cat.file === 'curated-raw.yaml') {
289-
proxies = await tcpFilter(proxies);
290290
const before = proxies.length;
291291
proxies = topByCountry(proxies);
292292
console.log(` Top 筛选: ${proxies.length}/${before}`);

0 commit comments

Comments
 (0)