Browse Source

Update Luminati Hosts

SukkaW 1 year ago
parent
commit
71a190a1f6
2 changed files with 17 additions and 1 deletions
  1. 8 1
      Build/_get-lum-apex-domains.ts
  2. 9 0
      Source/domainset/reject.conf

+ 8 - 1
Build/_get-lum-apex-domains.ts

@@ -24,6 +24,13 @@ import { processLine } from './lib/process-line';
     }
   });
 
+  const dataFromDuckDuckGo = await fetch('https://raw.githubusercontent.com/duckduckgo/tracker-radar/92e086ce38a8a88c964ed0184e5277ec1d5c8038/entities/Bright%20Data%20Ltd..json').then((res) => res.json());
+  if (typeof dataFromDuckDuckGo === 'object' && dataFromDuckDuckGo !== null && 'properties' in dataFromDuckDuckGo && Array.isArray(dataFromDuckDuckGo.properties)) {
+    dataFromDuckDuckGo.properties.forEach((prop) => {
+      trie.add(prop);
+    });
+  }
+
   for await (const line of readFileByLine(path.join(SOURCE_DIR, 'domainset', 'reject.conf'))) {
     const l = processLine(line);
     if (l) {
@@ -31,5 +38,5 @@ import { processLine } from './lib/process-line';
     }
   }
 
-  console.log(trie.dump().join('\n'));
+  console.log(trie.dump().map(i => '.' + i).join('\n'));
 })();

+ 9 - 0
Source/domainset/reject.conf

@@ -1130,6 +1130,7 @@ track.appsflyer.com
 adeventtracker.spotify.com
 analytics.spotify.com
 .log.spotify.com
+audio-ak-spotify-com.akamaized.net
 
 # >> Microsoft
 bat.bing.com
@@ -2375,6 +2376,14 @@ tongji.tom.com
 .proxyway.com
 .optmd.com
 .adincube.com
+.brdtest.co
+.l-cdn.com
+.earnapp.com
+.brightvpn.com
+.brightinitiative.com
+.brightdata.com
+.bright-sdk.com
+.brdtest.com
 # .hola.ph # expired
 .hola.ph