// 全网完整测速节点 分类整理 const speedNodes = { // 全球通用 Cloudflare global: [ { name: "Cloudflare Anycast 100MB", url: "https://speed.cloudflare.com/__down?during=download&bytes=104857600", size: "100MB" }, { name: "Cloudflare Anycast 1GB", url: "https://speed.cloudflare.com/__down?during=download&bytes=1073741824", size: "1GB" }, { name: "Cloudflare Anycast 10GB", url: "https://speed.cloudflare.com/__down?during=download&bytes=10737418240", size: "10GB" } ], // 中国大陆通用CDN chinaCommon: [ { name: "QQ腾讯CDN 200MB", url: "https://dldir1.qq.com/qqfile/qq/PCQQ9.7.17/QQ9.7.17.29225.exe", size: "200MB" }, { name: "阿里CDN 300MB", url: "https://wirelesscdn-download.xuexi.cn/publish/xuexi_android/latest/xuexi_android_10002068.apk", size: "300MB" }, { name: "Apple金山CDN 3GB", url: "http://updates-http.cdn-apple.com/2019WinterFCS/fullrestores/041-39257/32129B6C-292C-11E9-9E72-4511412B0A59/iPhone_4.7_12.1.4_16D57_Restore.ipsw", size: "3GB" } ], // 电信 telecom: [ { name: "电信武汉 1GB", url: "http://vipspeedtest8.wuhan.net.cn:8080/download?size=1073741824", size: "1GB" }, { name: "电信武汉 10GB", url: "http://vipspeedtest8.wuhan.net.cn:8080/download?size=10737418240", size: "10GB" }, { name: "电信线路 2GB", url: "https://dlied4.csy.tcdnos.com/myapp/1104466820/cos.release-40109/10040714_com.tencent.tmgp.sgame_a2480356_8.2.1.9_F0BvnI.apk", size: "2GB" } ], // 联通 unicom: [ { name: "联通线路 2GB", url: "https://ml-dlied4.bytes.tcdnos.com/myapp/1104466820/cos.release-40109/10040714_com.tencent.tmgp.sgame_a2480356_8.2.1.9_F0BvnI.apk", size: "2GB" } ], // 移动 mobile: [ { name: "移动线路 2GB", url: "https://875e1151af8aa9e3b793f51f6049996d.dlied1.cdntips.net/dlied4.myapp.com/myapp/1104466820/cos.release-40109/10040714_com.tencent.tmgp.sgame_a2480356_8.2.1.9_F0BvnI.apk", size: "2GB" } ], // 教育网 edu: [ { name: "浙大教育网 1GB", url: "http://speedtest.zju.edu.cn/1000M", size: "1GB" } ], // 亚洲 - 香港 hk: [ { name: "香港Datapacket 100MB", url: "http://hkg.download.datapacket.com/100mb.bin", size: "100MB" }, { name: "香港Datapacket 1GB", url: "http://hkg.download.datapacket.com/1000mb.bin", size: "1GB" }, { name: "香港Datapacket 10GB", url: "http://hkg.download.datapacket.com/10000mb.bin", size: "10GB" } ], // 亚洲 - 新加坡 singapore: [ { name: "新加坡Datapacket 100MB", url: "http://sgp.download.datapacket.com/100mb.bin", size: "100MB" }, { name: "新加坡Datapacket 1GB", url: "http://sgp.download.datapacket.com/1000mb.bin", size: "1GB" }, { name: "新加坡Datapacket 10GB", url: "http://sgp.download.datapacket.com/10000mb.bin", size: "10GB" }, { name: "新加坡OVH 100MB", url: "https://sgp.proof.ovh.net/files/100Mb.dat", size: "100MB" }, { name: "新加坡OVH 1GB", url: "https://sgp.proof.ovh.net/files/1Gb.dat", size: "1GB" }, { name: "新加坡OVH 10GB", url: "https://sgp.proof.ovh.net/files/10Gb.dat", size: "10GB" }, { name: "新加坡Vultr 100MB", url: "https://sgp-ping.vultr.com/vultr.com.100MB.bin", size: "100MB" }, { name: "新加坡Vultr 1GB", url: "https://sgp-ping.vultr.com/vultr.com.1000MB.bin", size: "1GB" } ], // 亚洲 - 东京 tokyo: [ { name: "东京Datapacket 100MB", url: "http://tyo.download.datapacket.com/100mb.bin", size: "100MB" }, { name: "东京Datapacket 1GB", url: "http://tyo.download.datapacket.com/1000mb.bin", size: "1GB" }, { name: "东京Datapacket 10GB", url: "http://tyo.download.datapacket.com/10000mb.bin", size: "10GB" }, { name: "东京Vultr 100MB", url: "https://hnd-jp-ping.vultr.com/vultr.com.100MB.bin", size: "100MB" }, { name: "东京Vultr 1GB", url: "https://hnd-jp-ping.vultr.com/vultr.com.1000MB.bin", size: "1GB" } ], // 欧洲 - 德国 germany: [ { name: "德国纽伦堡Hetzner 100MB", url: "https://nbg1-speed.hetzner.com/100MB.bin", size: "100MB" }, { name: "德国纽伦堡Hetzner 1GB", url: "https://nbg1-speed.hetzner.com/1GB.bin", size: "1GB" }, { name: "德国纽伦堡Hetzner 10GB", url: "https://nbg1-speed.hetzner.com/10GB.bin", size: "10GB" }, { name: "德国法兰克福Vultr 100MB", url: "https://fra-de-ping.vultr.com/vultr.com.100MB.bin", size: "100MB" }, { name: "德国法兰克福Vultr 1GB", url: "https://fra-de-ping.vultr.com/vultr.com.1000MB.bin", size: "1GB" }, { name: "德国法兰克福Hivelocity 10GB", url: "https://speedtest.fra1.hivelocity.net/10GiB.file", size: "10GB" } ], // 欧洲 - 法国 france: [ { name: "法国巴黎Datapacket 100MB", url: "http://par.download.datapacket.com/100mb.bin", size: "100MB" }, { name: "法国巴黎Datapacket 1GB", url: "http://par.download.datapacket.com/1000mb.bin", size: "1GB" }, { name: "法国巴黎Datapacket 10GB", url: "http://par.download.datapacket.com/10000mb.bin", size: "10GB" }, { name: "法国OVH 100MB", url: "https://gra.proof.ovh.net/files/100Mb.dat", size: "100MB" }, { name: "法国OVH 1GB", url: "https://gra.proof.ovh.net/files/1Gb.dat", size: "1GB" }, { name: "法国OVH 10GB", url: "https://gra.proof.ovh.net/files/10Gb.dat", size: "10GB" } ], // 北美 - 美西 usWest: [ { name: "洛杉矶Datapacket 100MB", url: "http://lax.download.datapacket.com/100mb.bin", size: "100MB" }, { name: "洛杉矶Datapacket 1GB", url: "http://lax.download.datapacket.com/1000mb.bin", size: "1GB" }, { name: "洛杉矶Datapacket 10GB", url: "http://lax.download.datapacket.com/10000mb.bin", size: "10GB" }, { name: "俄勒冈OVH 100MB", url: "https://hil.proof.ovh.us/files/100Mb.dat", size: "100MB" }, { name: "俄勒冈OVH 1GB", url: "https://hil.proof.ovh.us/files/1Gb.dat", size: "1GB" }, { name: "俄勒冈OVH 10GB", url: "https://hil.proof.ovh.us/files/10Gb.dat", size: "10GB" }, { name: "洛杉矶Vultr 100MB", url: "https://lax-ca-us-ping.vultr.com/vultr.com.100MB.bin", size: "100MB" }, { name: "洛杉矶Vultr 1GB", url: "https://lax-ca-us-ping.vultr.com/vultr.com.1000MB.bin", size: "1GB" }, { name: "俄勒冈Hetzner 10GB", url: "https://hil-speed.hetzner.com/10GB.bin", size: "10GB" } ], // 北美 - 美东 usEast: [ { name: "阿什本Datapacket 100MB", url: "http://ash.download.datapacket.com/100mb.bin", size: "100MB" }, { name: "阿什本Datapacket 1GB", url: "http://ash.download.datapacket.com/1000mb.bin", size: "1GB" }, { name: "阿什本Datapacket 10GB", url: "http://ash.download.datapacket.com/10000mb.bin", size: "10GB" }, { name: "弗吉尼亚OVH 100MB", url: "https://vin.proof.ovh.us/files/100Mb.dat", size: "100MB" }, { name: "弗吉尼亚OVH 1GB", url: "https://vin.proof.ovh.us/files/1Gb.dat", size: "1GB" }, { name: "弗吉尼亚OVH 10GB", url: "https://vin.proof.ovh.us/files/10Gb.dat", size: "10GB" }, { name: "新泽西Vultr 100MB", url: "https://nj-us-ping.vultr.com/vultr.com.100MB.bin", size: "100MB" }, { name: "新泽西Vultr 1GB", url: "https://nj-us-ping.vultr.com/vultr.com.1000MB.bin", size: "1GB" }, { name: "弗吉尼亚Hetzner 10GB", url: "https://ash-speed.hetzner.com/10GB.bin", size: "10GB" } ] }; // 各网络类型推荐优先级顺序 const netRecommend = { telecom: ["telecom", "chinaCommon", "hk", "singapore", "global"], unicom: ["unicom", "chinaCommon", "hk", "singapore", "global"], mobile: ["mobile", "chinaCommon", "hk", "singapore", "global"], edu: ["edu", "chinaCommon", "hk", "singapore"], abroad: ["global", "singapore", "tokyo", "germany", "france", "usWest", "usEast"] };