This commit is contained in:
quindecim 2020-12-26 03:23:13 -05:00
parent a3503cd980
commit a9dd084158
3 changed files with 7 additions and 2 deletions

View File

@ -86,6 +86,7 @@
*.business
*.buzz
*.cafe24.*
*.casa
*.cfapps.*
*.chat.ru
*.chello.*

View File

@ -1,8 +1,13 @@
# Local additions
file:domains-blocklist-local-additions.txt
## ADS - TRACKERS ##
# The Quantum Ad-List
https://gitlab.com/The_Quantum_Alpha/the-quantum-ad-list/-/raw/master/For%20hosts%20file/The_Quantum_Ad-List.txt
# dnswarden
# https://raw.githubusercontent.com/dnswarden/blocklist/master/test/block-3rd-party-cnames.txt
@ -63,5 +68,3 @@ https://block.energized.pro/extensions/xtreme/formats/domains.txt
# CHEF-KOCH
# https://raw.githubusercontent.com/CHEF-KOCH/Spotify-Ad-free/master/filters/Spotify-HOSTS.txt

View File

@ -21,6 +21,7 @@ def parse_time_restricted_list(content):
rx_comment = re.compile(r"^(#|$)")
rx_inline_comment = re.compile(r"\s*#\s*[a-z0-9-].*$")
rx_trusted = re.compile(r"^([*a-z0-9.-]+)\s*(@\S+)?$")
rx_timed = re.compile(r".+\s*(@\S+)?$")
names = set()
time_restrictions = {}