mirror of
https://github.com/itdoginfo/allow-domains.git
synced 2025-04-13 01:09:08 +00:00
Fix kvas list
This commit is contained in:
parent
493dab4a54
commit
0170df9089
1 changed files with 2 additions and 1 deletions
|
@ -134,6 +134,7 @@ def kvas(src, out, remove={'google.com'}):
|
|||
if not tldextract.extract(line).domain and tldextract.extract(line).suffix:
|
||||
domains.add(tldextract.extract(line.rstrip()).suffix)
|
||||
|
||||
domains = domains - remove
|
||||
domains = sorted(domains)
|
||||
|
||||
with open(f'{out}-kvas.lst', 'w') as file:
|
||||
|
@ -395,7 +396,7 @@ if __name__ == '__main__':
|
|||
Path("Russia").mkdir(parents=True, exist_ok=True)
|
||||
|
||||
removeDomains = {'google.com', 'googletagmanager.com', 'github.com', 'githubusercontent.com', 'githubcopilot.com', 'microsoft.com', 'cloudflare-dns.com', 'parsec.app' }
|
||||
removeDomainsKvas = {'google.com', 'googletagmanager.com', 'github.com', 'githubusercontent.com', 'githubcopilot.com', 'microsoft.com', 'cloudflare-dns.com', 'parsec.app', 't.co' }
|
||||
removeDomainsKvas = {'google.com', 'googletagmanager.com', 'github.com', 'githubusercontent.com', 'githubcopilot.com', 'microsoft.com', 'cloudflare-dns.com', 'parsec.app', 't.co', 'ua' }
|
||||
|
||||
inside_lists = [rusDomainsInsideCategories, rusDomainsInsideServices]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue