bump: 2025.1.25-176079977 #8

Merged
ange merged 6 commits from staging into prod 2025-01-27 16:08:43 +00:00
2 changed files with 5607 additions and 2177 deletions
Showing only changes of commit 3e178d62fc - Show all commits

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,27 @@
#!/usr/bin/env python3
import urllib.request as request
import re
HOSTS = "https://someonewhocares.org/hosts/zero/hosts"
OUTPUT = "config/hostnames_remove.yml"
def main():
with request.urlopen(HOSTS) as i:
with open(OUTPUT, "w+") as o:
print(
*sorted(
[
rf"- '(.*\.)?{re.escape(l.split()[1])}$'"
for l in i.read().decode("utf-8").split("\n")
if l.startswith("0")
]
),
sep="\n",
file=o,
)
if __name__ == "__main__":
main()