v2.57
版本发布时间: 2021-03-22 14:02:11
hl2guide/Filterlist-for-AdGuard-or-PiHole最新发布版本:v2.70(2021-09-10 18:06:31)
- Fixed the blocklists to only contain purely domains and IP addresses
e.g. the code stub:
# Removes junk lines (2.57)
# Regular expression: line starts with: ( OR * OR - OR . OR /
regexJunkPrefixes = "^(\(|\*|\-|\.|\/)"
if re.match(regexJunkPrefixes, line):
# Makes the line empty if it is junk
line = ''