mirror of
https://github.com/SukkaW/Surge.git
synced 2026-04-29 17:36:56 +08:00
Update CDN/Reject/Download Hosts & Remove Outdaed/Dead Hosts
Some checks failed
Build / Build (push) Has been cancelled
Build / Diff output (push) Has been cancelled
Build / Deploy to Cloudflare Pages (3.114.12) (push) Has been cancelled
Build / Deploy to GitHub and GitLab (push) Has been cancelled
Build / Remove Artifacts after Deployment (push) Has been cancelled
Some checks failed
Build / Build (push) Has been cancelled
Build / Diff output (push) Has been cancelled
Build / Deploy to Cloudflare Pages (3.114.12) (push) Has been cancelled
Build / Deploy to GitHub and GitLab (push) Has been cancelled
Build / Remove Artifacts after Deployment (push) Has been cancelled
This commit is contained in:
@@ -35,7 +35,7 @@ const HOSTNAMES = [
|
||||
//
|
||||
// By having lancache.steamcontent.com in Real IP, we can avoid Steam client accidentally mistaking
|
||||
// the Fake IP as a local LAN cache. This also helps real LAN cache to work properly.
|
||||
'lancache.steamcontent.com',
|
||||
'lancache.steamcontent.com'
|
||||
// 'controlplane.tailscale.com',
|
||||
// NTP
|
||||
// 'time.*.com', 'time.*.gov', 'time.*.edu.cn', 'time.*.apple.com', 'time?.*.com', 'ntp.*.com', 'ntp?.*.com', '*.time.edu.cn', '*.ntp.org.cn', '*.pool.ntp.org'
|
||||
@@ -44,16 +44,7 @@ const HOSTNAMES = [
|
||||
// 'localhost.*.qq.com'
|
||||
// 'localhost.ptlogin2.qq.com
|
||||
// 'localhost.sec.qq.com',
|
||||
// 'localhost.work.weixin.qq.com',
|
||||
'127.*.*.*.sslip.io',
|
||||
'127-*-*-*.sslip.io',
|
||||
'*.127.*.*.*.sslip.io',
|
||||
'*-127-*-*-*.sslip.io',
|
||||
'127.*.*.*.nip.io',
|
||||
'127-*-*-*.nip.io',
|
||||
'*.127.*.*.*.nip.io',
|
||||
'*-127-*-*-*.nip.io',
|
||||
'127.atlas.skk.moe'
|
||||
// 'localhost.work.weixin.qq.com'
|
||||
];
|
||||
|
||||
export const buildAlwaysRealIPModule = task(require.main === module, __filename)(async (span) => {
|
||||
|
||||
@@ -25,8 +25,7 @@ const ENFORCED_WHITELIST = [
|
||||
'img.vim-cn.com'
|
||||
];
|
||||
|
||||
const DEDUPE_LIST: string[] = ['ntp.api.bz', 'httpdns.bilivideo.com', 'httpdns.platform.dbankcloud.cn', 'dns.iqiyi.com', 'dns.qiyipic.iqiyi.com', 'img.vim-cn.com', 'cdn.commento.io', 'cdn.glitch.com', 'cdn.glitch.global', 'content.product.glitch.com', 'mirror.as24220.net', 'mirrors.switch.ca', 'ubuntu.pishgaman.net', 'mirror.famaserver.com', 'ubuntu-mirror.kimiahost.com', 'mirror.aminidc.com', 'mirror.ucu.ac.ug', 'mirror.0-1.cloud', 'ctan.um.ac.ir', 'ctan.yazd.ac.ir', 'report.huatuo.qq.com', 'repo.iut.ac.ir', 'ad.api.youshiad.cn', 'm.j5s9b.cn', 'ee.j5s9b.cn', 'e.duomeng.org', 'cdn.onlyhentaistuff.com', 'gt1.onlyhentaistuff.com', 'cm1.aminoapps.com', 'iadmatapk.nosdn.127.net'];
|
||||
|
||||
const DEDUPE_LIST: string[] = ['127.atlas.skk.moe', 'ntp.api.bz', 'httpdns.bilivideo.com', 'dns.qiyipic.iqiyi.com', 'cdn.graph.office.net', 'dns.iqiyi.com', 'img.vim-cn.com', 'image.westinyou.com', 'edge1.certona.net', 'certona.gap.com', 'yep.video.yahoo.com', 'static.opensea.io', 'shopify.cleverecommerce.com', 'tile.mapzen.com', 'cdn.cracked.sh', 'images.idgesg.net', 'drive.massgrave.dev', 'alt.idgesg.net', 'mirror.ghproxy.com', 'mirror.nl.datapacket.com', 'mirror.anigil.com', 'mirror.nus.edu.sg', 'mirror.timkevin.us', 'mirrors.nic.cz', 'cpan.tetaneutral.net', 'mirror.datapacket.com', 'client.hikarifield.co.jp', 'a.macked.app', 'apache.tt.co.kr', 'fm.p0y.cn', 'iyes.youku.com', 'ad.api.mobile.youku.com', 'c.yes.youku.com', 'ad.jamster.co.uk', 'fumiad.dxys.pro', 'ad.leadboltapps.net', 'ems.cp12.wasu.tv', 'creative1cdn.mobfox.com', 'mycommerce.akamaized.net', 'js-cdn.blockchair.io', 'loutre.blockchair.io', 'static.namebeta.com', 'fs2.onlyhentaistuff.com', 'file.izanmei.net', 'play.xiaoh.ai', 'file.xiaohai.ai', 'tiles.wmflabs.org', 'image.stheadline.com', 'vod.jfly.xyz', 'assets.wikiwand.com', 'cdn.wikiwand.com', 'cloudfront.codeproject.com', 'assets-cdn.anh.moe', 'media.d.tube', 'media.remax-prod.eng.remax.tech', 'static-landing.probiplacehold.cot.com'];
|
||||
task(require.main === module, __filename)(async (span) => {
|
||||
const files = await span.traceChildAsync('crawl thru all files', () => new Fdir()
|
||||
.withFullPaths()
|
||||
|
||||
Reference in New Issue
Block a user