mirror of
https://github.com/itdoginfo/allow-domains.git
synced 2025-04-13 01:09:08 +00:00
Fixed remove domains for kvas
This commit is contained in:
parent
942ba8fb4f
commit
05dbd70cf5
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ def kvas(src, out, single=None, remove={'google.com'}):
|
|||
if re.search(r'[^а-я\-]', tldextract.extract(line).domain):
|
||||
domains_single.add(tldextract.extract(line.rstrip()).fqdn)
|
||||
|
||||
domains = domains - remove
|
||||
domains -= {f"*{domains}" for domains in removeDomains}
|
||||
domains = domains.union(domains_single)
|
||||
|
||||
domains = sorted(domains)
|
||||
|
|
Loading…
Add table
Reference in a new issue