Update CDN & Domestic Hosts

This commit is contained in:
SukkaW 2024-11-10 17:02:19 +08:00
parent d8b6616337
commit 6811b23acd
3 changed files with 10 additions and 6 deletions

View File

@ -143,7 +143,7 @@ const processPhihsingDomains = cache(function processPhihsingDomains(domainArr:
if (!(apexDomain in domainScoreMap)) {
domainScoreMap[apexDomain] = 0;
if (BLACK_TLD.has(tld)) {
domainScoreMap[apexDomain] += 4;
domainScoreMap[apexDomain] += 3;
} else if (tld.length > 6) {
domainScoreMap[apexDomain] += 2;
}
@ -166,16 +166,16 @@ const processPhihsingDomains = cache(function processPhihsingDomains(domainArr:
|| (domainScoreMap[apexDomain] >= 16 && domainCountMap[apexDomain] >= 7)
|| (domainScoreMap[apexDomain] >= 13 && domainCountMap[apexDomain] >= 11)
|| (domainScoreMap[apexDomain] >= 5 && domainCountMap[apexDomain] >= 14)
|| (domainScoreMap[apexDomain] >= 3 && domainCountMap[apexDomain] >= 20)
|| (domainScoreMap[apexDomain] >= 3 && domainCountMap[apexDomain] >= 21)
) {
domainArr.push('.' + apexDomain);
}
}
// console.log({
// score: domainScoreMap['shoppy.gg'],
// count: domainCountMap['shoppy.gg']
// });
console.log({
score: domainScoreMap['flk-ipfs.xyz'],
count: domainCountMap['flk-ipfs.xyz']
});
return Promise.resolve(domainArr);
}, {

View File

@ -2796,6 +2796,7 @@ screenshots.downloadtorrentfile.com
cdn.auth0.com
cdn.freshdesk.com
static.typingclub.com
videos2.edclub.com
assets.byteplus.com
static.meiguo.com
assets.safing.io
@ -3230,3 +3231,5 @@ image.4fuk.org
.doodcdn.co
.cloudatacdn.com
.fastlycdn.com
media.datacenterdynamics.com
static.ahrefs.com

View File

@ -481,6 +481,7 @@ DOMAIN-SUFFIX,duba.net
DOMAIN-SUFFIX,dxy.cn
DOMAIN-SUFFIX,dxycdn.com
DOMAIN-SUFFIX,eastmoney.com
DOMAIN-SUFFIX,ebay.cn
DOMAIN-SUFFIX,eudic.net
DOMAIN-SUFFIX,fang.com
DOMAIN-SUFFIX,feng.com